[Overview][Constants][Types][Classes][Procedures and functions][Index] | Reference for unit 'ComCtrls' (#lcl)

# TCustomListView.OnDataFind

Event handler signalled to locate list item data when OwnerData (virtual) mode is enabled.

## Declaration

Source position: comctrls.pp line 1608

`protected property TCustomListView.OnDataFind : TLVDataFindEvent read FOnDataFind write FOnDataFind;`

## Description

OnDataFind is a TLVDataFindEvent property with the event handler signalled to locate a list item when OwnerData (or virtual mode) has been enabled. Arguments to the event handler define the search criteria and parameters used in the implementation of the handler routine.

See TLVDataFindEvent for more information about the argument values.

OnDataFind is signalled from the DoOwnerDataFind method which is implemented for the Windows platform only in the current LCL version.

## See also

TCustomListView.OwnerData |  | Enables or disables owner data (virtual) mode for the list view control.
TCustomListView.DoOwnerDataFind |  | Implements incremental search in list items when OwnerData has been enabled.
TCustomListView.OnData |  | Event handler signalled to the value(s) for a list item when OwnerData (virtual mode) has been enabled.
TLVDataFindEvent |  | Specifies an event handler used to locate a list view item using the specified search parameters and criteria.