RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomListBox.OnDataFind Event

Occurs when a virtual list box needs to identify the index of an item given its text.

Pascal
property OnDataFind: TLBFindDataEvent;
C++
__property TLBFindDataEvent OnDataFind;

You must supply an OnDataFind event handler to dynamically provide the mapping from list item to index when the Style property is lbVirtual or lbVirtualOwnerDraw. 

 

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