Vcl.StdCtrls.TCustomListBox.OnDataFind

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property OnDataFind: TLBFindDataEvent read FOnDataFind write FOnDataFind;

C++

__property TLBFindDataEvent OnDataFind = {read=FOnDataFind, write=FOnDataFind};

Properties

Type Visibility Source Unit Parent
event protected
Vcl.StdCtrls.pas
Vcl.StdCtrls.hpp
Vcl.StdCtrls TCustomListBox

Description

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

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.

OnDataFind is an event handler of type Vcl.StdCtrls.TLBFindDataEvent.

See Also