Vcl.StdCtrls.TLBGetDataObjectEvent
C++
typedef void __fastcall (__closure *TLBGetDataObjectEvent)(Vcl::Controls::TWinControl* Control, int Index, System::TObject* &DataObject);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
typedef | public | Vcl.StdCtrls.hpp | Vcl.StdCtrls | Vcl.StdCtrls |
Description
TLBGetDataObjectEvent is the type of the list box Vcl.StdCtrls.TCustomListBox.OnDataObject event handler.
Control is the virtual list box that contains the item associated with the object.
Index is the index of the desired item. Index must be less than the value of the Count property.
DataObject returns the object associated with the specified item.