Vcl.ComCtrls.TListView.OnDataFind

From RAD Studio API Documentation
Jump to: navigation, search

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.

Vcl.ComCtrls.TListView.OnDataFind inherits from Vcl.ComCtrls.TCustomListView.OnDataFind. All content below this line refers to Vcl.ComCtrls.TCustomListView.OnDataFind.

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