Vcl.ComCtrls.TListView.OnDataFind

From RAD Studio API Documentation

Delphi

property OnDataFind: TLVOwnerDataFindEvent read FOnDataFind write FOnDataFind;

C++

__property OnDataFind;

Properties

Type Visibility Source Unit Parent
event published
Vcl.ComCtrls.pas
Vcl.ComCtrls.hpp
Vcl.ComCtrls TListView

Description

Occurs when the list view control receives a search request, such as when the FindData and FindCaption methods are called. {{#multireplace:Vcl.ComCtrls.TListView.OnDataFind|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} inherits from {{#multireplace:Vcl.ComCtrls.TCustomListView.OnDataFind|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}. All content below this line refers to {{#multireplace:Vcl.ComCtrls.TCustomListView.OnDataFind|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}.

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.

See Also