[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Used to restore the expanded state for a node or tree view.
Source position: comctrls.pp line 3937
public procedure TTreeNodeExpandedState.Apply( |
FirstTreeNode: TTreeNode; |
CollapseToo: Boolean = True |
); |
TreeView: TCustomTreeView; |
CollapseToo: Boolean = True |
); |
FirstTreeNode |
|
Initial tree node examined in the method. |
CollapseToo |
|
Collapses previously expanded child nodes when True. |
TreeView |
|
Tree view with nodes examined in the method. |
CollapseToo |
|
Collapses previously expanded child nodes when True. |
Apply is an overloaded procedure used to restore the expanded state for nodes in a tree structure. The overloaded variants allow either a specific tree node or the first node in the tree view to be used to reconstruct the tree structure.
CollapseToo indicates whether child tree nodes are collapsed (when True) or expanded.
Version 4.0 | Generated 2025-05-03 | Home |