Returns the object associated with an item in a virtual list box.
function DoGetDataObject(const Index: Integer): TObject;
__fastcall TObject * DoGetDataObject(const int Index);
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.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!