RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDBLookupControl.ProcessSearchKey Method

Adds a character to the protected SearchText property and updates the selection to the first matching list value.

Pascal
procedure ProcessSearchKey(Key: Char); virtual;
C++
virtual __fastcall ProcessSearchKey(Char Key);

ProcessSearchKey is called automatically when the user types a key into the lookup control. It forms the basis of the control's incremental searching, updating the list to the string that begins with the characters typed in thus far. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!