Vcl.ComCtrls.TCustomListView.OnDataFind
Delphi
property OnDataFind: TLVOwnerDataFindEvent read FOnDataFind write FOnDataFind;
C++
__property TLVOwnerDataFindEvent OnDataFind = {read=FOnDataFind, write=FOnDataFind};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
event | protected | Vcl.ComCtrls.pas Vcl.ComCtrls.hpp |
Vcl.ComCtrls | TCustomListView |
Description
Occurs when the list view control receives a search request, such as when the FindData and FindCaption methods are called.
Use OnDataFind to locate an item and return custom data associated with it.
OnDataFind occurs only if OwnerData is True.
OnDataFind is an event handler of type Vcl.ComCtrls.TLVOwnerDataFindEvent.