Vcl.ComCtrls.TTreeNode.GetLastChild

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function GetLastChild: TTreeNode;

C++

TTreeNode* __fastcall GetLastChild();

Properties

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

Description

Returns the last immediate child node of the calling node.

Call GetLastChild to find the last immediate child of a node. If the calling node has no children, GetLastChild returns nil (Delphi) or NULL (C++). GetLastChild returns the same value as Item[Count-1].

See Also