ComboSearch Property

Returns or sets whether combo lists should support smart searches.

Syntax

[form!]VSFlexGrid.ComboSearch[ = ComboSearchSettings ]

Remarks

When ComboSearch is set to a non-zero value, the control search for entries and highlight them as the user types. This is similar to searching items on the grid using the AutoSearch property.

The ComboSearch capability makes data-entry substantially easier, especially when working with long lists.

The settings for the ComboSearch property are described below:

 

Constant

Value

Description

FlexCmbSearchNone

0

Don't search as the user types (use only the first letter).

FlexCmbSearchLists

1

Search drop-down lists, but not combo boxes.

FlexCmbSearchCombos

2

Search combo boxes, but not drop-down lists.

FlexCmbSearchAll

3

Search combo boxes and drop-down lists (this is the default setting).

 

For information on how to build drop-down lists and combo boxes, see the ComboList and ColComboList properties.

Data Type

ComboSearchSettings (Enumeration)

Default Value

flexCmbSearchAll (3)

See Also

VSFlexGrid Control