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

# TItemFind

Represents a search mechanism used to locate the data for a list view item.

## Declaration

Source position: comctrls.pp line 1289

`type TItemFind = (`
`ifData,` |  | Uses the Pointer to a data structure with the search values.
`ifPartialString,` |  | Uses a partial string match to locate a list item.
`ifExactString,` |  | Uses an exact string match to locate a list item.
`ifNearest` |  | Locates the list item that is the nearest match to a value in a specified search direction.
`);`

## Description

TItemFind is the type passed as an argument to TLVDataFindEvent and used to implement the OnDataFind event handler in TCustomListView.

## See also

TCustomListView.OnDataFind |  | Event handler signalled to locate list item data when OwnerData (virtual) mode is enabled.
TLVDataFindEvent |  | Specifies an event handler used to locate a list view item using the specified search parameters and criteria.