TTreeNodeExpandedState.Apply procedure
Used to restore the expanded state for a node or tree view.
Declaration
procedure Apply(FirstTreeNode: TTreeNode; CollapseToo: Boolean=True)
procedure Apply(TreeView: TCustomTreeView; CollapseToo: Boolean=True)Arguments
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. |
Description
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.
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
