RAD Studio VCL Reference
StdCtrls.TLBFindDataEvent Type

TLBFindDataEvent is the type of the list box OnDataFind event handler.

TLBFindDataEvent = function (Control: TWinControl; FindString: string): Integer of object;
(Control: TWinControl; FindString: string): Integer ( TLBFindDataEvent)();

Control is the virtual list box whose item index is needed.  

FindString is the text of the item whose index is needed.  

The event handler returns the index of the item identified by FindString. This return value must be in the range from 0 to one less than the value of the Count property. 


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