[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Determines if the specified tree node has child nodes.
Source position: comctrls.pp line 3606
protected function TCustomTreeView.NodeHasChildren( |
Node: TTreeNode |
):Boolean; virtual; |
Node |
|
Tree node examined in the method. |
True if the node has child nodes. False if OnHasChildren has not been assigned.
NodeHasChildren is a Boolean function used to determine if the tree node specified in Node has child nodes. NodeHasChildren signals the OnHasChildren event handler (when assigned) to determine the return value for the method. The return value is False if OnHasChildren has not been assigned.
NodeHasChildren is called when a tree node reads the value for its HasChildren property. The TTreeNode instance uses an existing value in its States flags when available. If not set, NodeHasChildren is used to determine if the flag value (nsHasChildren) is included in or excluded from the States property in the tree node.
|
Event handler signalled to determine if a given node in the tree view has child nodes. |
|
|
Indicates whether the tree node has child nodes. |
|
|
Contains active state flags for the tree node. |
|
|
The tree view control where the node is displayed. |
|
|
Set type used to store TNodeState value(s). |
|
|
Enumerated type denoting the state for a TreeNode. |
Version 3.2 | Generated 2024-02-25 | Home |