TTreeNodeExpandedState class
Class used to save and restore the expanded state of a TTreeView.
Declaration
TTreeNodeExpandedState = classDescription
TTreeNodeExpandedState is a class used to save and restore the
expanded state of a TTreeView. The nodes are identified by their Text
property.
Usage example:
// save old expanded state OldExpanded := TTreeNodeExpandedState.Create(ATreeView); // ... change a lot of nodes ... // restore old expanded state OldExpanded.Apply(ATreeView); OldExpanded.Free;
See also
Methods
Create | public | Constructor for the class instance. |
Destroy | public | Destructor for the class instance. |
Clear | public | Clear the expanded nodes for the tree structure. |
CreateChildNodes | public | CreateChildNodes - constructor for the child nodes. |
Apply | public | Used to restore the expanded state for a node or tree view. |
Events
OnGetNodeText | public | Event handler signalled to get the text for the specified tree node. |
Fields
NodeText | public | NodeText - the text in the current node. |
Children | public | Children - the children of the current node, as an AvgLvlTree. |
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
