TTreeItemStorageOption enumeration
Represents the options which determine the tree node values read or written in load and save routines.
Declaration
TTreeItemStorageOption = (tsoExpanded,tsoSelected,tsoFocused,tsoVisible,
tsoEnabled,tsoImageIndex,tsoSelectedIndex,
tsoStateIndex,tsoOverlayIndex)Description
Values from the enumeration are stored in the
TTreeItemStorageOptions set type. When a value is included in the
set, the corresponding property in the TTreeNode instance is included in the
data processed in the load and save routines. If a value is omitted from the
set, the corresponding property in the TTreeNode is ignored.
The enumeration values are used in the TreeSaveToXML and TreeLoadFromXML routines when properties for TTreeNodes are read from or written to an XML storage format.
Use the TTreeItemStorageOptions set type to store values from the TTreeItemStorageOption enumeration.
See also
- TTreeItemStorageOptions
- TreeItemStorageDefaultOptions
- TreeSaveToXML
- TreeLoadFromXML
- TTreeView.Items
- TTreeNode
Values
tsoExpanded | Data about a tree node includes the setting in its Expanded property. |
tsoSelected | Data about a tree node includes the setting in its Selected property. |
tsoFocused | Data about a tree node includes the setting in its Focused property. |
tsoVisible | Data about a tree node includes the setting in its Visible property. |
tsoEnabled | Data about a tree node includes the setting in its Enabled property. |
tsoImageIndex | Data about a tree node includes the setting in its ImageIndex property. |
tsoSelectedIndex | Data about a tree node includes the setting in its SelectedIndex property. |
tsoStateIndex | Data about a tree node includes the setting in its StateIndex property. |
tsoOverlayIndex | Data about a tree node includes the setting in its OverlayIndex property. |
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
