Vcl.DBCtrls.TDBLookupControl.SearchText

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property SearchText: string read FSearchText write FSearchText;

C++

__property System::UnicodeString SearchText = {read=FSearchText, write=FSearchText};

Properties

Type Visibility Source Unit Parent
property protected
Vcl.DBCtrls.pas
Vcl.DBCtrls.hpp
Vcl.DBCtrls TDBLookupControl

Description

Specifies the value that the user has typed in so far.

SearchText is used internally to implement incremental searching in the lookup control's list when the ListField property specifies a string field (or WideString field). Each time the user types a new character, that character is appended to SearchText and the resulting string is used to locate a value in the control's list that begins with the value of SearchText.

See Also