Vcl.StdCtrls.TLBGetDataEvent
Delphi
TLBGetDataEvent = procedure(Control: TWinControl; Index: Integer; var Data: string) of object;
C++
typedef void __fastcall (__closure *TLBGetDataEvent)(Vcl::Controls::TWinControl* Control, int Index, System::UnicodeString &Data);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
type typedef |
public | Vcl.StdCtrls.pas 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.