MatchEntry Property
This property returns or sets a value indicating how a TDBList control performs searches based on user input.
TDBList.MatchEntry = value
Read/Write at run time and design time.
Property applies to TDBList control.
Values
|
Design Time |
Run Time |
|
0 - None (default) |
dblMatchEntryNone |
|
1 - Standard |
dblMatchEntryStandard |
|
2 - Extended |
dblMatchEntryExtended |
When set to 0 - None (the default), the control does not perform any incremental searches.
When set to 1 - Standard, the search argument is limited to one character, and the control attempts to find a match for the character entered using the first letter of entries in the list. Repeatedly typing the same letter cycles through all of the entries in the list beginning with that letter.
When set to 2 - Extended, the control searches for an entry matching all characters entered. The search is performed incrementally as characters are typed. This behavior is almost identical to that of a TDBCombo control except that the search argument is cleared when a TDBList control gains focus, or when the user presses Backspace or hesitates for a few seconds.
Note: The ListField property determines which column is searched.
See Also