TcxListBox.OnDataFind Event
Occurs when the list box control needs to determine the index of the item by its caption.
Declaration
property OnDataFind: TLBFindDataEvent read; write;
Remarks
The OnDataFind event fires when the control operates in virtual mode and it is needed to find an item by its caption.
The item to be found is specified by its caption via the FindString parameter. The event must return the index of the requested item.
Control specifies the TcxInnerListBox.
The ListStyle property must be set to lbVirtual or lbVirtualOwnerDraw value to switch the control to virtual mode.
See Also