Vcl.StdCtrls.TLBFindDataEvent

From RAD Studio API Documentation
Jump to: navigation, search

C++

typedef int __fastcall (__closure *TLBFindDataEvent)(Vcl::Controls::TWinControl* Control, System::UnicodeString FindString);

Properties

Type Visibility Source Unit Parent
typedef public Vcl.StdCtrls.hpp Vcl.StdCtrls Vcl.StdCtrls

Description

TLBFindDataEvent is the type of the list box Vcl.StdCtrls.TCustomListBox.OnDataFind event handler.

Control is the virtual list box whose item index is needed.

FindString is the text of the item whose index is needed.

The event handler returns the index of the item identified by FindString. This return value must be in the range from 0 to one less than the value of the Count property.

See Also