Vcl.DBCtrls.TDBLookupControl.ProcessSearchKey
Delphi
procedure ProcessSearchKey(Key: Char); virtual;
C++
virtual void __fastcall ProcessSearchKey(System::WideChar Key);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | Vcl.DBCtrls.pas Vcl.DBCtrls.hpp |
Vcl.DBCtrls | TDBLookupControl |
Description
Adds a character to the protected SearchText property and updates the selection to the first matching list value.
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.