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

TSearchDirection

Represents search direction used to locate the list view item nearest to given coordinates.

Declaration

Source position: comctrls.pp line 1280

type TSearchDirection = (

  sdLeft,

  

Searches to the left of the specified list view coordinates.

  sdRight,

  

Searches to the right of the specified list view coordinates.

  sdAbove,

  

Searches above the specified list view coordinates.

  sdBelow,

  

Searches below the specified list view coordinates.

  sdAll

  

Searches in all directions for the list view closest to the given coordinates.

);

Description

Values from TSearchDirection are passed as an argument to the GetNearestItem method in TCustomListView.

See also

TCustomListView.GetNearestItem

  

Locates the list item closest to the specified position.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.