Sign in Join
FPDoc Onlineexperiment

TTreeItemStorageOption enumeration

In unit TreeStorage

Represents the options which determine the tree node values read or written in load and save routines.

Declaration

pascal
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

Values

tsoExpandedData about a tree node includes the setting in its Expanded property.
tsoSelectedData about a tree node includes the setting in its Selected property.
tsoFocusedData about a tree node includes the setting in its Focused property.
tsoVisibleData about a tree node includes the setting in its Visible property.
tsoEnabledData about a tree node includes the setting in its Enabled property.
tsoImageIndexData about a tree node includes the setting in its ImageIndex property.
tsoSelectedIndexData about a tree node includes the setting in its SelectedIndex property.
tsoStateIndexData about a tree node includes the setting in its StateIndex property.
tsoOverlayIndexData 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.