[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Set type used to store values from the TTreeViewOption enumeration.
Source position: comctrls.pp line 3334
type TTreeViewOptions = set of ( |
||
tvoAllowMultiselect, |
|
Allows selection of several tree-items, e.g. using Ctrl+click and Shift+click. Has the same affect as setting the MultiSelect property to True. |
tvoAutoExpand, |
|
Automatically expands child nodes for a tree-item when user clicks it, or the item is activated by code. Has the same affect as setting the AutoExpand property to True. |
tvoAutoInsertMark, |
|
Allows painting a horizontal line below a tree-item under cursor when mouse moves. Good for drag-drop. |
tvoAutoItemHeight, |
|
Detect height of a tree-item based on current font and icons. |
tvoHideSelection, |
|
If a control looses focus, then don't paint selection for selected tree-item. Same as HideSelection property. |
tvoHotTrack, |
|
Additionally highlight/underline a tree-item when mouse is over it. Same as HotTrack property. |
tvoKeepCollapsedNodes, |
|
When some items change, keep previously folded tree-items in folded state. |
tvoReadOnly, |
|
Don't allow to change item captions by clicking on items with a delay. Same as ReadOnly property. |
tvoRightClickSelect, |
|
Right-click also selects a tree-item. Otherwise it only calls PopupMenu. Same as RightClickSelect property. |
tvoRowSelect, |
|
When a tree-item is selected, paint selection background with full width. Same as RowSelect property. |
tvoShowButtons, |
|
Show expand/collapse (fold/unfold) icons at left side for nodes with sub-nodes. Same as ShowButtons property. |
tvoShowLines, |
|
Show vertical lines at left side which paint tree structure for nested nodes. Same as ShowLines property. |
tvoShowRoot, |
|
Show the root tree-item which is always present in code but may be hidden for user. Same as ShowRoot property. |
tvoShowSeparators, |
|
Show horizontal lines below all tree-items. |
tvoToolTips, |
|
Show tooltip (hint) for a tree-item when the item is too long to fit by width and mouse is over it. Same as ToolTips property. |
tvoNoDoubleClickExpand, |
|
Prevents toggling the expanded state for the tree view item when it is double clicked. |
tvoThemedDraw, |
|
Tree view item is drawn using settings from theme services. |
tvoEmptySpaceUnselect |
|
Indicates if empty space can be be drawn below unselected items in the tree view. |
); |
TTreeViewOptions is a set type used to store zero (0) or more values from the TTreeViewOption enumeration. Values included in the set indicate that a feature or behavior is enabled for a tree view control.
TTreeViewOptions is the type used for the TCustomTreeView.Options property.
|
The set of options enabled in the tree view control. |
Version 3.2 | Generated 2024-02-25 | Home |