Vcl.StdCtrls.TCustomListBox.OnDataObject
Delphi
property OnDataObject: TLBGetDataObjectEvent read FOnDataObject write FOnDataObject;
C++
__property TLBGetDataObjectEvent OnDataObject = {read=FOnDataObject, write=FOnDataObject};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
event | protected | Vcl.StdCtrls.pas Vcl.StdCtrls.hpp |
Vcl.StdCtrls | TCustomListBox |
Description
Occurs when a virtual list box needs to supply the object associated with an item.
Supply an OnDataObject event handler to dynamically provide objects associated with the items in a virtual list box.
OnDataObject is an event handler of type Vcl.StdCtrls.TLBGetDataObjectEvent.