RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomListBox.OnData Event

Occurs when a virtual list box needs to supply the text of an item.

Pascal
property OnData: TLBGetDataEvent;
C++
__property TLBGetDataEvent OnData;

You must supply an OnData event handler to dynamically supply the items in the list box when the Style property is lbVirtual or lbVirtualOwnerDraw. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!