Skip to main content

TdxListItems.GetItemAtPos(TPoint) Method

Provides access to the list item at the specified point.

Declaration

function GetItemAtPos(const P: TPoint): TdxListItem;

Parameters

Name Type Description
P TPoint

A point in the List View control to which the list item collection belongs.

Returns

Type Description
TdxListItem

A list item.

Remarks

A GetItemAtPos function returns nil (in Delphi) or nullptr(in C++Builder) if the specified point does not belong to a list item.

See Also