From RAD Studio API Documentation
Jump to: navigation, search


typedef void __fastcall (__closure *TLBGetDataObjectEvent)(Vcl::Controls::TWinControl* Control, int Index, System::TObject* &DataObject);


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


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.

See Also