TTreeViewOption enumeration
TTreeViewOption - enumerated type containing the permissible
values for Options in TreeViews.Declaration
TTreeViewOption = (tvoAllowMultiselect,tvoAutoExpand,tvoAutoInsertMark,
tvoAutoItemHeight,tvoHideSelection,tvoHotTrack,
tvoKeepCollapsedNodes,tvoReadOnly,
tvoRightClickSelect,tvoRowSelect,tvoShowButtons,
tvoShowLines,tvoShowRoot,tvoShowSeparators,
tvoToolTips,tvoNoDoubleClickExpand,tvoThemedDraw,
tvoEmptySpaceUnselect)Description
TTreeViewOption - enumerated type containing the permissible
values for Options in TreeViews.
Values
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. |
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
