[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'ComCtrls' (#lcl)

TTreeViewOption

TTreeViewOption - enumerated type containing the permissible values for Options in TreeViews

Declaration

Source position: comctrls.pp line 3202

type TTreeViewOption = (

  tvoAllowMultiselect,

  

Allow to select several tree-items, e.g. using Ctrl+click and Shift+click. Same as MultiSelect property.

  tvoAutoExpand,

  

Unfold a tree-item when user clicks it or an item activated by code. Same as AutoExpand property.

  tvoAutoInsertMark,

  

Allow to paint 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,

  

Don't expand (unfold) tree-item by mouse double click.

  tvoThemedDraw

  

Use OS themes to paint control elements.

);

Description

TTreeViewOption - enumerated type containing the permissible values for Options in TreeViews

tvoAllowMultiselect,
    tvoAutoExpand,
    tvoAutoInsertMark,
    tvoAutoItemHeight,
    tvoHideSelection,
    tvoHotTrack,
    tvoKeepCollapsedNodes,
    tvoReadOnly,
    tvoRightClickSelect,
    tvoRowSelect,
    tvoShowButtons,
    tvoShowLines,
    tvoShowRoot,
    tvoShowSeparators,
    tvoToolTips,
    tvoNoDoubleClickExpand
The latest version of this document can be found at lazarus-ccr.sourceforge.net.