Vcl.StdCtrls.TLBGetDataEvent
C++
typedef void __fastcall (__closure *TLBGetDataEvent)(Vcl::Controls::TWinControl* Control, int Index, System::UnicodeString &Data);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
typedef | public | Vcl.StdCtrls.hpp | Vcl.StdCtrls | Vcl.StdCtrls |
Description
TLBGetDataEvent is the type of the list box Vcl.StdCtrls.TCustomListBox.OnData event handler.
Control is the virtual list box whose item is needed.
Index is the index of the desired item. Index must be less than the value of the Count property.
Data returns the string that is the value of the specified item.