Skip to main content

TdxCustomTreeView.GetNodeAtPos(TPoint,TdxTreeViewNode) Method

Returns the tree node to which the specified point belongs.

Declaration

function GetNodeAtPos(const P: TPoint; out ANode: TdxTreeViewNode): Boolean;

Parameters

Name Type Description
P TPoint

A point within the Tree View control’s client area.

ANode TdxTreeViewNode

A target node.

Returns

Type Description
Boolean

True if the specified point belongs to a tree node; otherwise, False.

See Also