RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
StdCtrls.TLBGetDataObjectEvent Type

TLBGetDataObjectEvent is the type of the list box OnDataObject event handler.

Pascal
TLBGetDataObjectEvent = procedure (Control: TWinControl; Index: Integer; var DataObject: TObject) of object;
C++
(Control: TWinControl; Index: Integer; var DataObject: TObject) ( TLBGetDataObjectEvent)();

StdCtrls

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. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!