Vcl.ComCtrls.TTreeNode.GetLastChild
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].