Show: Delphi C++
Display Preferences

Vcl.StdCtrls.TCustomListBox.DoGetDataObject

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function DoGetDataObject(const Index: Integer): TObject;

C++

System::TObject* __fastcall DoGetDataObject(const int Index);

Properties

Type Visibility Source Unit Parent
function protected
Vcl.StdCtrls.pas
Vcl.StdCtrls.hpp
Vcl.StdCtrls TCustomListBox

Description

Returns the object associated with an item in a virtual list box.

This protected method is called automatically when a virtual list box needs to supply the object associated with an item. DoGetDataObject is never called unless the list box is virtual (that is, unless the value of the Style property is lbVirtual or lbVirtualOwnerDraw).

DoGetDataObject generates an OnDataObject event and returns the object that is supplied dynamically by the event handler.

See Also

Personal tools
In Other Languages
Previous Versions
Assistance