TreeControl Properties
Installed With: Full Development System
Inherits from Generic»GObject»Control. View the class hierarchy.
Property | Description |
---|---|
Active Cell:Active Column Number | Sets the column of the active cell(s). Details |
Active Cell:Background Color | The background color of the active cell(s). Details |
Active Cell:Cell Font | The font of the active cell in the tree control. Details |
Active Cell:Cell Font:Bold | Indicates whether the text in the active cell is bold. Details |
Active Cell:Cell Font:Color | The text font color in the active cell. Details |
Active Cell:Cell Font:Italic | Indicates whether the text in the active cell is italic. Details |
Active Cell:Cell Font:Name | The name of the font in the active cell. Predefined font names include App Font, Sys Font, and Dlg Font. Details |
Active Cell:Cell Font:Size | The size of the font in the active cell. Details |
Active Cell:Cell Font:Strikeout | Indicates whether to strike out the text in the active cell. Details |
Active Cell:Cell Font:Underline | Indicates whether the text in the active cell is underlined. Details |
Active Cell:Cell Justification | Gets and sets the justification of text. Details |
Active Cell:Cell Size | The size of the active cell(s) in pixels. Details |
Active Cell:Cell Size:Height | The height of the active cell(s) in pixels. Details |
Active Cell:Cell Size:Width | The width of the active cell(s) in pixels. Details |
Active Cell:Position | The coordinate in pixels, relative to the origin of the owning pane, of the top-left position of the active cell(s). Details |
Active Cell:Position:Left | The coordinate in pixels, relative to the origin of the owning pane, of the left edge of the active cell. Details |
Active Cell:Position:Top | The coordinate in pixels, relative to the origin of the owning pane, of the top edge of the active cell. Details |
Active Cell:String | The string in the active cell(s). Details |
Active Item:Child-Only? | If TRUE, you cannot indent other items under the active item(s). Details |
Active Item:Disabled? | If TRUE, the active item(s) appears dimmed and you cannot select the item(s). Details |
Active Item:Indent Level | The level at which the active item(s) appears in the hierarchy. Wire a value of 0 to this property to move the item to the highest level in the hierarchy. Details |
Active Item:Open? | If TRUE, the active item(s) appears expanded to display items indented under it. Details |
Active Item:Row Number | The row number of the item to which you want to apply subsequent property changes. Wire a value of –1 to this property to select the column headers. Wire a value of –2 to select all rows. Details |
Active Item:Symbol Index | The index of the symbol for the active item(s). Details |
Active Item:Tag | The tag of the item(s) to which you want to apply subsequent property changes. Details |
All Tags | The tags of all items in a tree control. This property returns the tags of both visible and hidden items in order from the top of the tree control to the bottom. Details |
Allow Editing Cells | If TRUE, users can edit non-header cells in this control at run time by clicking the cell text and then clicking it a second time after a short pause. If FALSE, users cannot edit non-header cells. Details |
Allow Selection of Parent Items | If TRUE, users can select items that have other items indented under them and items that are not child-only and do not have other items indented under them. If FALSE, users can select only items with a value of TRUE for the Child-Only? property. Details |
Autosizing Row Height | Determines whether the rows autosize their height to display all text when fonts change or when the number of lines in a cell changes. Details |
Column Header Strings[] | An array of the strings in the column headers. Details |
Content Rect Bounds | The size in pixels of the content rectangle of the tree control. Details |
Content Rect Bounds:Height | The height in pixels of the content rectangle of the tree control. Details |
Content Rect Bounds:Width | The width in pixels of the content rectangle of the tree control. Details |
Content Rect Position | The coordinate in pixels, relative to the origin of the owning pane, of the top-left position of the content rectangle of the tree control. Details |
Content Rect Position:Left | The coordinate in pixels, relative to the origin of the owning pane, of the left edge of the content rectangle of the tree control. Details |
Content Rect Position:Top | The coordinate in pixels, relative to the origin of the owning pane, of the top edge of the content rectangle of the tree control. Details |
Displayed Items | Returns the unique tags of all visible items in the tree control in display order. If an item is indented under another item and the parent item is not expanded, this property does not return the tags of any items indented under that parent item. Details |
Drag/Drop:Allow Drag and Drop Outside Control | If TRUE, this enables the control to drag items to other controls and accept drags from other controls. Details |
Drag/Drop:Allow Dragging of Parent Items | If FALSE, the user cannot drag an item in the tree control unless the item is child-only. Details |
Drag/Drop:Allow Dragging | If TRUE, you can drag items from this control. Details |
Drag/Drop:Allow Dropping Between Items | If FALSE, the user cannot drag an item to place it between two other items at the same hierarchical level. Details |
Drag/Drop:Allow Dropping | If TRUE, LabVIEW automatically accepts drops containing the LV_TREE_TAG, LV_TEXT, or LV_TREE_ITEMS data types. The LV_TREE_TAG data type is a string that represents the tag from which you drag. The LV_TEXT data type is of type string. The LV_TREE_ITEMS data type is an array of a cluster containing an array of strings, from left to right, in the item you are dragging, an integer representing the glyph index associated with the item from which you are dragging data, and an integer representing the indent level of the item from which you are dragging. Details |
Drag/Drop:Drag Mode | Sets the default behavior for a drag and drop operation for the control. If you set copy only, LabVIEW only supports copying data during drag and drop operations. If you set move only, LabVIEW only supports moving data during drag and drop operations. If you set copy and move, LabVIEW supports both copying and moving data during the drag and drop operation. The settings only apply when the control configured is the source of the drag and drop operation. Details |
Edit Position | The row-column pair index of the current text entry. Values of (0,0) indicate the top-left text entry. A value of –1 indicates the row or column header. Values of (–2, –2) indicate that no edits are being made to the text of the control. This property does not set text focus on a control that does not already have text focus. Details |
Expand/Contract Symbol:Show Symbol at Root | Shows or hides the expand/contract symbols for items at indent level 0. The indent level 0 items become flush with the left side of the tree control when you hide the expand/contract symbols. Details |
Expand/Contract Symbol:Symbol Type | The type of symbol to display next to each item that has other items indented under it. Valid values include 0 (None), 1 (LabVIEW), 2 (Mac OS), 3 (Windows), and 4 (Default). Details |
Keyboard Mode | Sets how to handle upper and lowercase characters when you type characters in a tree control at run time. Valid values include 0 (System Default), 1 (Case Sensitive), and 2 (Case Insensitive). Details |
Multiple Line Input | If TRUE, you can enter multiple lines of text in the tree control cells by pressing the <Enter> key on the keyboard. If FALSE, pressing the <Enter> key on the keyboard while editing cells causes LabVIEW to commit the edits in the current cell and the text focus moves to the next cell. This property does not affect run-time behavior of the tree control. Details |
Number of Columns | Number of visible columns in the tree control. This property counts partially visible columns. Details |
Number of Rows | Number of visible rows in the tree control, excluding column headers. This property counts partially visible rows. Details |
Row Header Strings[] | An array of the strings in the row headers. Details |
Selection Color | The color used to highlight the selected items. Details |
Selection Mode | Number of items the user can select. Valid values include 0 (zero or one), 1 (one), 2 (zero or more), and 3 (one or more). Details |
Sibling Multiselect | If TRUE and the Selection Mode is 0 or More Items, users can select multiple items only if those items are siblings. Details |
Size | The width and height in pixels of the tree control. Details |
Size:Height | The height of the tree control in pixels. Details |
Size:Width | The width of the tree control in pixels. Details |
Top Left Visible Cell | The unique tag and column of the item string displayed in the top left corner of the tree control. Use this property to read or change the top item, or use it to read or change the leftmost column of information displayed. Details |
Visible Items:Column Headers Visible | If TRUE, displays the column headers. Details |
Visible Items:Hierarchy Lines Visible | If Visible, lines to outline the hierarchy of the items are always visible as vertical and horizontal lines to the left of the items in the tree control. If Invisible, the hierarchy lines are always invisible. If OS Default, LabVIEW displays the hierarchy lines if trees in the operating system show hierarchy lines. Details |
Visible Items:Horizontal Lines Visible | If TRUE, displays horizontal lines that separate rows in the tree control. Details |
Visible Items:Horizontal Scrollbar Visible | If TRUE, displays the horizontal scroll bar. Details |
Visible Items:Row Headers Visible | Shows the row headers. Details |
Visible Items:Symbols Visible | If TRUE, displays the item symbols. Details |
Visible Items:Vertical Lines Visible | If TRUE, displays vertical lines that separate columns in the tree control. Details |
Visible Items:Vertical Scrollbar Visible | If TRUE, displays the vertical scroll bar. Details |