Vcl.CheckLst.TCheckListBox.OnDataFind
Delphi
property OnDataFind: Integer read FOnDataFind write FOnDataFind;
C++
__property OnDataFind;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
event | published | Vcl.CheckLst.pas Vcl.CheckLst.hpp |
Vcl.CheckLst | TCheckListBox |
Description
Occurs when a virtual list box needs to identify the index of an item given its text.
Vcl.CheckLst.TCheckListBox.OnDataFind inherits from Vcl.StdCtrls.TCustomListBox.OnDataFind. All content below this line refers to Vcl.StdCtrls.TCustomListBox.OnDataFind.
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.