Vcl.StdCtrls.TListBox.OnDataObject

From RAD Studio API Documentation

Delphi

property OnDataObject: TLBGetDataObjectEvent read FOnDataObject write FOnDataObject;

C++

__property OnDataObject;

Properties

Type Visibility Source Unit Parent
event published
Vcl.StdCtrls.pas
Vcl.StdCtrls.hpp
Vcl.StdCtrls TListBox

Description

Occurs when a virtual list box needs to supply the object associated with an item. {{#multireplace:Vcl.StdCtrls.TListBox.OnDataObject|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} inherits from {{#multireplace:Vcl.StdCtrls.TCustomListBox.OnDataObject|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}. All content below this line refers to {{#multireplace:Vcl.StdCtrls.TCustomListBox.OnDataObject|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}.

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.

See Also