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

TCustomTreeView.GetNodeAt

Searches all expanded nodes for the tree node at the specified position.

Declaration

Source position: comctrls.pp line 3659

public function TCustomTreeView.GetNodeAt(

  X: Integer;

  Y: Integer

):TTreeNode;

Arguments

X

  

Horizontal coordinate for the the node or row.

Y

  

Vertical coordinate for the tree node or row.

Function result

Visible tree node at the specified position, or Nil when not found.

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