StrataFrame Forum

Combo Box Auto Complete

http://forum.strataframe.net/Topic1267.aspx

By Ricardo Quartier - 5/23/2006

Yo, Is there a way to use the auto complete property of the combo box if my combo box is using SF BO?

Example:

BusinessObject: JogadoresBO1
BindingField: jogador_clubeID
PopulationType: BusinessObject
PopulateOnFormLoad: FormLoad
PopulationDataSourceSettings: ClubesBO.FillTop100

How should I configure the AutoCompleteMode and AutoCompleteSource properties?

Any clue.. ?

Thanks......

By StrataFrame Team - 5/24/2006

The AutoCompleteMode property is an enumeration that allows you to specify how the auto complete will work, and the AutoCompleteSource is a collection (IList, array, etc.) of strings that should be in the auto-complete.  If you want the AutoCompleteSource to come from the database, then you'll need to create a method on your business object that will create and return a collection of objects, which can then be set as the AutoCompleteSource of the combo box.
By Ricardo Quartier - 5/24/2006

Thanks !