Vcl.ComCtrls.TCustomListView.GetSearchString

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function GetSearchString: string;

C++

System::UnicodeString __fastcall GetSearchString();

Properties

Type Visibility Source Unit Parent
function public
Vcl.ComCtrls.pas
Vcl.ComCtrls.hpp
Vcl.ComCtrls TCustomListView

Description

Returns the incremental search string of a list view control.

Call GetSearchString to obtain the character sequence typed by the user while the list view has input focus. Each time the user types a character, the list view appends the character to the search string and searches for a matching item. A timeout period of less than a second is associated with each character that the user types. If the timeout period elapses before the user types another character, the incremental search string is reset. If the system finds a match, it selects the item and, if necessary, scrolls it into view.

See Also