[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Performs actions needed when the specified tree node is collapsed.
Source position: comctrls.pp line 3573
protected procedure TCustomTreeView.Collapse( |
Node: TTreeNode |
); virtual; |
Node |
|
Tree node collapsed in the control. |
Collapse is a method used to perform actions needed when the tree node in Node is collapsed. Collapse updates the visibility and position for the scroll bars in the control. The OnCollapsed event handler is signalled (when assigned) for the tree node in Node.
No actions are performed in the method when the component is being freed.
Collapse is called when the Collapse method in the TTreeNode instance is called.
See Expand for the actions performed when a tree node is expanded.
|
Expands the specified tree node and updates the scroll bars for the control. |
|
|
True if the node has been expanded, False when collapsed. |
|
|
Collapses the current tree node, and optionally collapses any descendent nodes. |
Version 3.2 | Generated 2024-02-25 | Home |