Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TcxListBox.OnDataFind Event

In This Article

Occurs when the list box control needs to determine the index of the item by its caption.

#Declaration

Delphi
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