Vcl.ComCtrls.TCustomTreeView.GetNodeAt

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function GetNodeAt(X, Y: Integer): TTreeNode;

C++

TTreeNode* __fastcall GetNodeAt(int X, int Y);

Properties

Type Visibility Source Unit Parent
function public
Vcl.ComCtrls.pas
Vcl.ComCtrls.hpp
Vcl.ComCtrls TCustomTreeView

Description

Returns the node that is found at the specified position.

Call GetNodeAt to access the node at the position specified by the X and Y parameters. X and Y specify the position in pixels relative to the top left corner of the tree view. If there is no node at the location, GetNodeAt returns nil (Delphi) or NULL (C++).

See Also

Code Examples