Jump to content

TreeControl class: Difference between revisions

From LabVIEW Wiki
mNo edit summary
Replaced with template tables
Tag: Replaced
Line 7: Line 7:
{{TOCright}}
{{TOCright}}


==Properties==
<!--Edit Properties, Methods, or Events in the appropriate table in one on the VI Server Templates-->
<span class="mw-customtoggle-propertiestable">Show/Hide TreeControl Properties Table</span>
{{VIServerClassTables|66}}
<div class="mw-collapsible" id="mw-customcollapsible-propertiestable">
{{VIServerLegend|showrw=TRUE|showrte=TRUE}}
{| class="wikitable sortable"
|+ TreeControl Properties Table
! Property ID
! Short Name (English)
! Description
! R/W
! RTE
|- style="background-color:#FFFFCC;"
|756A3C13
| [[TreeControl class/ActiveColNum property|ActiveColNum]]
|Sets the column of the active cell(s).
 
The following table lists example values for this property.
{| class="wikitable"
! scope="col" style="text-align:left;"| Value
! scope="col" style="text-align:left;"| Result
|- style="vertical-align:top;"
| -2
| Selects all columns.
|- style="vertical-align:top;"
| -1
| Selects all column headers.
|- style="vertical-align:top;"
| 0
| Selects the first column.
|- style="vertical-align:top;"
|
| Wire the index of a specific column to select a specific column.
|}
 
|R/W
|X
|- style="background-color:#FFFFCC;"
|756A3C14
| [[TreeControl class/CellBG property|CellBG]]
|The background color of the active cell(s).
 
You can set the color of the front panel object by wiring a hexadecimal number with the form RRGGBB or by wiring the color box constant to the property.
|R/W
|X
|- style="background-color:#FFFFCC;"
|756A3C34
| [[TreeControl class/CellFont property|CellFont]]
|The font of the active cell in the tree control.
 
Use this property to change the size, style, or color of the cell font. You cannot use this property with a strict type definition.
|R/W
|X
|- style="background-color:#FFFFCC;"
|756A3C37
| [[TreeControl class/CellFontBold property|CellFontBold]]
|Indicates whether the text in the active cell is bold.
 
This property is an element of the Active Cell:Cell Font property.
|R/W
|X
|- style="background-color:#FFFFCC;"
|756A3C3B
| [[TreeControl class/CellFontColor property|CellFontColor]]
|The text font color in the active cell.
 
This property is an element of the Active Cell:Cell Font property.
|R/W
|X
|- style="background-color:#FFFFCC;"
|756A3C38
| [[TreeControl class/CellFontItalic property|CellFontItalic]]
|Indicates whether the text in the active cell is italic.
 
This property is an element of the Active Cell:Cell Font property.
|R/W
|X
|- style="background-color:#FFFFCC;"
|756A3C35
| [[TreeControl class/CellFontName property|CellFontName]]
|The name of the font in the active cell. Predefined font names include App Font, Sys Font, and Dlg Font.
 
This property is an element of the Active Cell:Cell Font property.
 
If you select an invalid font, this property returns an error.
|R/W
|X
|- style="background-color:#FFFFCC;"
|756A3C36
| [[TreeControl class/CellFontSize property|CellFontSize]]
|The size of the font in the active cell.
 
This property is an element of the Active Cell:Cell Font property.
|R/W
|X
|- style="background-color:#FFFFCC;"
|756A3C3A
| [[TreeControl class/CellFontStrike property|CellFontStrike]]
|Indicates whether to strike out the text in the active cell.
 
This property is an element of the Active Cell:Cell Font property.
|R/W
|X
|- style="background-color:#FFFFCC;"
|756A3C39
| [[TreeControl class/CellFontUnder property|CellFontUnder]]
|Indicates whether the text in the active cell is underlined.
 
This property is an element of the Active Cell:Cell Font property.
|R/W
|X
|- style="background-color:#FFFFCC;"
|756A3C3C
| [[TreeControl class/CellJustify property|CellJustify]]
|Gets and sets the justification of text.
|R/W
|X
|- style="background-color:#FFFFCC;"
|756A3C16
| [[TreeControl class/CellSize property|CellSize]]
|The size of the active cell(s) in pixels.
 
Changing the cell size does not change the size of the tree control.
|R/W
|X
|- style="background-color:#FFFFCC;"
|756A3C17
| [[TreeControl class/Height property|Height]]
|The height of the active cell(s) in pixels.
 
This property is an element of the Active Cell:Cell Size property.
|R/W
|X
|- style="background-color:#FFFFCC;"
|756A3C18
| [[TreeControl class/Width property|Width]]
|The width of the active cell(s) in pixels.
 
This property is an element of the Active Cell:Cell Size property.
|R/W
|X
|- style="background-color:#FFFFCC;"
|756A3C31
| [[TreeControl class/ActiveCellPos property|ActiveCellPos]]
|The coordinate in pixels, relative to the origin of the owning pane, of the top-left position of the active cell(s).
|R
|X
|- style="background-color:#FFFFCC;"
|756A3C32
| [[TreeControl class/ActiveCellPosLeft property|ActiveCellPosLeft]]
|The coordinate in pixels, relative to the origin of the owning pane, of the left edge of the active cell.
 
This property is an element of the Active Cell:Position property.
|R
|X
|- style="background-color:#FFFFCC;"
|756A3C33
| [[TreeControl class/ActiveCellPosTop property|ActiveCellPosTop]]
|The coordinate in pixels, relative to the origin of the owning pane, of the top edge of the active cell.
 
This property is an element of the Active Cell:Position property.
|R
|X
|- style="background-color:#FFFFCC;"
|756A3C19
| [[TreeControl class/Cell String property|Cell String]]
|The string in the active cell(s).
 
If the active cell is all columns or all rows, this property returns an error.
|R/W
|X
|- style="background-color:#FFFFCC;"
|756A3C10
| [[TreeControl class/Child-Only? property|Child-Only?]]
|If TRUE, you cannot indent other items under the active item(s).
 
If the active item is the column headers or if the active item has other items indented under it, this property returns an error. If the active item is all rows, the property returns an error.
 
This property is similar to the Child-Only Item item on the shortcut menu of a tree control.
|R/W
|X
|- style="background-color:#FFFFCC;"
|756A3C0F
| [[TreeControl class/Disabled? property|Disabled?]]
|If TRUE, the active item(s) appears dimmed and you cannot select the item(s).
 
If the active item is the column headers or all rows, this property returns an error.
 
This property is similar to the Disable Item item on the shortcut menu of a tree control.
|R/W
|X
|- style="background-color:#FFFFCC;"
|756A3C11
| [[TreeControl class/Indent Level property|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.
 
If the active item is the column headers, this property returns an error. If the active item is all rows, this property returns an error.
 
If you wire a value to this property that is more than one level greater than the indent level of the item above the item you want to indent, this property returns an error.
 
This property is similar to the Indent Item and Outdent Item items on the shortcut menu of a tree control.
|R/W
|X
|- style="background-color:#FFFFCC;"
|756A3C0E
| [[TreeControl class/Open? property|Open?]]
|If TRUE, the active item(s) appears expanded to display items indented under it.
 
If the active item is the column headers or all rows, this property returns an error.
|R/W
|X
|- style="background-color:#FFFFCC;"
|756A3C42
| [[TreeControl class/ActiveItemRowNumber property|ActiveItemRowNumber]]
|The row number of the item to which you want to apply subsequent property changes. Wire a value of &#8211;1 to this property to select the column headers. Wire a value of &#8211;2 to select all rows.
 
When you read this property, this property returns the row number of the active item. When you write to this property, this property sets the active item to the row number you specify. This property returns an error if you specify an invalid row number. An invalid row is an empty row below the tree.
|R/W
|X
|- style="background-color:#FFFFCC;"
|756A3C12
| [[TreeControl class/Symbol property|Symbol]]
|The index of the symbol for the active item(s).
 
You can use a listbox symbol ring constant to view the default item symbols. You can use the Custom Item Symbols methods to customize item symbols.
 
If the active item is the column headers, this property returns an error. If the active item is all rows and you read this property, the property returns an error.
|R/W
|X
|- style="background-color:#FFFFCC;"
|756A3C0D
| [[TreeControl class/ActiveItemTag property|ActiveItemTag]]
|The tag of the item(s) to which you want to apply subsequent property changes.
 
The following table lists example values for this property.
{| class="wikitable"
! scope="col" style="text-align:left;"| Value
! scope="col" style="text-align:left;"| Result
|- style="vertical-align:top;"
| TREE_COLUMN_HEADERS
| Selects all column headers.
|- style="vertical-align:top;"
| TREE_ALL_ROWS
| Selects all rows.
|- style="vertical-align:top;"
|
| Wire the tag of a specific item to select a specific item.
|}
 
|R/W
|X
|- style="background-color:#FFFFCC;"
|756A3C43
| [[TreeControl class/All Tags property|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.
|R
|X
|- style="background-color:#FFFFCC;"
|756A3C3D
| [[TreeControl class/Allow Editing Cells property|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.
 
This property is similar to the Editable Cells item on the shortcut menu of a tree control.
|R/W
|X
|- style="background-color:#FFFFCC;"
|756A3C1E
| [[TreeControl class/Allow Selection of Parent Items property|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.
 
This property is similar to the Allow Selection of Parent Items item on the shortcut menu of a tree control.
|R/W
|X
|- style="background-color:#FFFFCC;"
|756A3C06
| [[TreeControl class/AutoRowHt property|AutoRowHt]]
|Determines whether the rows autosize their height to display all text when fonts change or when the number of lines in a cell changes.
 
If FALSE, you can have clipped text in cells, and the user will be unable to manually resize the row height at run time to see all of the text. This property affects only user input. If you use the Value property to set the item strings, the rows do not automatically resize. To resize the rows, set this property to FALSE and then set it back to TRUE.
 
This property is similar to the Autosize Row Height item on the shortcut menu of a tree control.
|R/W
|X
|- style="background-color:#FFFFCC;"
|756A3C00
| [[TreeControl class/ColHdrs() property|ColHdrs()]]
|An array of the strings in the column headers.
|R/W
|X
|- style="background-color:#FFFFCC;"
|756A3C2E
| [[TreeControl class/ContentRectBounds property|ContentRectBounds]]
|The size in pixels of the content rectangle of the tree control.
|R
|X
|- style="background-color:#FFFFCC;"
|756A3C30
| [[TreeControl class/ContentRectBoundsHeight property|ContentRectBoundsHeight]]
|The height in pixels of the content rectangle of the tree control.
 
This property is an element of the Content Rect Bounds property.
|R
|X
|- style="background-color:#FFFFCC;"
|756A3C2F
| [[TreeControl class/ContentRectBoundsWidth property|ContentRectBoundsWidth]]
|The width in pixels of the content rectangle of the tree control.
 
This property is an element of the Content Rect Bounds property.
|R
|X
|- style="background-color:#FFFFCC;"
|756A3C2B
| [[TreeControl class/ContentRectPos property|ContentRectPos]]
|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.
|R
|X
|- style="background-color:#FFFFCC;"
|756A3C2C
| [[TreeControl class/ContentRectPosLeft property|ContentRectPosLeft]]
|The coordinate in pixels, relative to the origin of the owning pane, of the left edge of the content rectangle of the tree control.
 
This property is an element of the Content Rect Position property.
|R
|X
|- style="background-color:#FFFFCC;"
|756A3C2D
| [[TreeControl class/ContentRectPosTop property|ContentRectPosTop]]
|The coordinate in pixels, relative to the origin of the owning pane, of the top edge of the content rectangle of the tree control.
 
This property is an element of the Content Rect Position property.
|R
|X
|- style="background-color:#FFFFCC;"
|756A3C1C
| [[TreeControl class/DispItems property|DispItems]]
|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.
|R
|X
|- style="background-color:#FFFFCC;"
|756A3C4A
| [[TreeControl class/AllowDragOutsideControl property|AllowDragOutsideControl]]
|If TRUE, this enables the control to drag items to other controls and accept drags from other controls.
 
Use the Control events for more control over how users drag items within controls.
 
You can use this property with the Drag/Drop:Allow Dragging and the Drag/Drop:Allow Dropping properties to allow data dragging to other controls and to accept data drops from other controls.
 
This property is similar to the Allow Drag Drop Outside Control item on the shortcut menu of a tree control.
|R/W
|X
|- style="background-color:#FFFFCC;"
|756A3C46
| [[TreeControl class/Allow Item Drag property|Allow Item Drag]]
|If TRUE, you can drag items from this control.
 
Use the Control events for more control over how users drag and drop items within controls. This property is similar to the Allow Dragging item on the shortcut menu of a tree control.
|R/W
|X
|- style="background-color:#FFFFCC;"
|756A3C1F
| [[TreeControl class/Allow Dragging of Parent Items property|Allow Dragging of Parent Items]]
|If FALSE, the user cannot drag an item in the tree control unless the item is child-only.
 
Use the Control events for more control over how users drag items within the tree control.
 
This property is similar to the Allow Dragging of Parent Items item on the shortcut menu of a tree control.
|R/W
|X
|- style="background-color:#FFFFCC;"
|756A3C47
| [[TreeControl class/Allow Dropping property|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.
 
Use the Control events for more control over how users drag items within controls.
 
This property is similar to the Allow Dropping item on the shortcut menu of a tree control.
|R/W
|X
|- style="background-color:#FFFFCC;"
|756A3C20
| [[TreeControl class/Allow Dropping Between Items property|Allow Dropping Between Items]]
|If FALSE, the user cannot drag an item to place it between two other items at the same hierarchical level.
 
Use the Control events for more control over how users drag items within the tree control.
 
This property is similar to the Allow Dropping Between Items item on the shortcut menu of a tree control.
|R/W
|X
|- style="background-color:#FFFFCC;"
|756A3C49
| [[TreeControl class/Drag Mode property|Drag Mode]]
|Sets the default behavior for a drag and drop operation for the control. The settings apply only when the control configured is the source of the drag and drop operation.
 
Use the Control events for more control over how users drag and drop items within controls.
 
This property is similar to the Drag Mode item on the shortcut menu of a tree control.
|R/W
|X
|- style="background-color:#FFFFCC;"
|756A3C4C
| [[TreeControl class/EditPos property|EditPos]]
|The row-column pair index of the current text entry. Values of (0,0) indicate the top-left text entry. A value of &#8211;1 indicates the row or column header. Values of (&#8211;2, &#8211;2) indicate that no edits are being made to the text of the control.
 
Before you use this property to set text focus on a control, set key focus of the control.
 
{| class="wikitable"
|+ scope="col" style="text-align:left;"|Elements:
! scope="col" style="text-align:left;"| Name
! scope="col" style="text-align:left;"| Description
|- style="vertical-align:top;"
! scope="row" style="text-align:left;"|Row
|The row of the current text entry. Possible values are 0…n, where n is the total number of rows - 1. Enter &#8211;1 to select a column header.
|- style="vertical-align:top;"
! scope="row" style="text-align:left;"|Column
|The column of the current text entry. Possible values are 0…m, where m is the total number of columns - 1. Enter &#8211;1 to select a row header.
|}
|R/W
|X
|- style="background-color:#FFFFCC;"
|756A3C48
| [[TreeControl class/Show Symbol at Root property|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.
 
If you hide the expand/contract symbols, you can still expand or collapse an item at indent level 0 by double-clicking the item.
 
To disable the double-clicking functionality, wire a True constant to the Discard? parameter of the Item Close? event.
|R/W
|X
|- style="background-color:#FFFFCC;"
|756A3C24
| [[TreeControl class/Symbol Type property|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 X), 3 (Windows), and 4 (Default).
 
This property is similar to the Expand/Contract Symbol Type item on the shortcut menu of a tree control.
|R/W
|X
|- style="background-color:#D1BB80;"
|756A3C4E
| [[TreeControl class/FocusItem property|FocusItem]]
|
|R/W
|X
|- style="background-color:#CCFFFF;"
|756A3C41
| [[TreeControl class/Is Array? property|Is Array?]]
|Returns TRUE if the tree has an array data type.
|R/W
|X
|- style="background-color:#FFFFCC;"
|756A3C0B
| [[TreeControl class/KBrdMode property|KBrdMode]]
|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).
 
This property is similar to the Keyboard Mode item on the shortcut menu of a tree control.
|R/W
|X
|- style="background-color:#FFFFCC;"
|756A3C07
| [[TreeControl class/MultilineInput property|MultilineInput]]
|If TRUE, you can enter multiple lines of text in the tree control cells by pressing the  key on the keyboard. If FALSE, pressing the  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.
 
This property is similar to the Multi-line Input item on the shortcut menu of a tree control.
|R/W
|X
|- style="background-color:#FFFFCC;"
|756A3C04
| [[TreeControl class/NumCols property|NumCols]]
|Number of visible columns in the tree control. This property counts partially visible columns.
 
If you wire a value of 0 to this property, LabVIEW displays the leftmost column. The tree control resizes according to the number of columns you set.
|R/W
|X
|- style="background-color:#FFFFCC;"
|756A3C03
| [[TreeControl class/NumRows property|NumRows]]
|Number of visible rows in the tree control, excluding column headers. This property counts partially visible rows.
 
If you wire a value of 0 to this property, LabVIEW displays the topmost row. The tree control resizes according to the number of rows you set.
|R/W
|X
|- style="background-color:#FFFFCC;"
|756A3C40
| [[TreeControl class/RowHdrs() property|RowHdrs()]]
|An array of the strings in the row headers.
|R/W
|X
|- style="background-color:#CCFFFF;"
|756A3C4B
| [[TreeControl class/SelectEntireRows property|SelectEntireRows]]
|Highlights the entire row if you select a row in the tree.
|R/W
|X
|- style="background-color:#FFFFCC;"
|756A3C08
| [[TreeControl class/SelColor property|SelColor]]
|The color used to highlight the selected items.
 
You can set the color of the front panel object by wiring a hexadecimal number with the form RRGGBB or by wiring the color box constant to the property.
|R/W
|X
|- style="background-color:#FFFFCC;"
|756A3C0C
| [[TreeControl class/SelMode property|SelMode]]
|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).
 
A single-selection tree control has a scalar data type, and a multiple-selection tree control has an array data type. If you set this property for a single-selection tree control to a value of 2 or 3, LabVIEW returns an error because LabVIEW cannot change the data type from scalar to array at run time.
 
This property is similar to the Selection Mode item on the shortcut menu of a tree control.
|R/W
|X
|- style="background-color:#FFFFCC;"
|756A3C44
| [[TreeControl class/Sibling Multiselect property|Sibling Multiselect]]
|If TRUE and the Selection Mode is <b>0 or More Items</b>, users can select multiple items only if those items are siblings.
 
If you enable Sibling Multiselect, but there are multiple non-sibling items already selected, subsequent selection behavior might not be intuitive. If you reset the selection to something valid, the selection behavior returns to normal.
 
This property is similar to the <b>Selection Mode&#0187;</b>Limit Multiselect to Siblings item on the shortcut menu of a tree control.
|R/W
|X
|- style="background-color:#FFFFCC;"
|756A3C28
| [[TreeControl class/Size property|Size]]
|The width and height in pixels of the tree control.
 
This property sizes the tree control similar to the Size property in the Listbox and Table control classes. This property is also similar to the <b>Size Height</b> and <b>Size Width</b> options on the Appearance page of the <b>Properties</b> dialog box.
|R/W
|X
|- style="background-color:#FFFFCC;"
|756A3C2A
| [[TreeControl class/Height property|Height]]
|The height of the active cell(s) in pixels.
 
This property is an element of the Active Cell:Cell Size property.
|R/W
|X
|- style="background-color:#FFFFCC;"
|756A3C29
| [[TreeControl class/Width property|Width]]
|The width of the active cell(s) in pixels.
 
This property is an element of the Active Cell:Cell Size property.
|R/W
|X
|- style="background-color:#FFFFCC;"
|756A3C09
| [[TreeControl class/TopLeft property|TopLeft]]
|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.
 
If you wire a tag of TREE_COLUMN_HEADERS or TREE_ALL_ROWS or a column of &#8211;2 to this property, the property returns an error. If the tree control contains no items, this property returns an error.
 
This property returns the tag and column of the item string at the top left corner of the visible tree window, which is not necessarily the top left element of the tree. To access the top left element, wire a value of 0 to the Active Cell:Active Column Number property and to the Active Item:Row Number property.
 
{| class="wikitable"
|+ scope="col" style="text-align:left;"|Elements:
! scope="col" style="text-align:left;"| Name
! scope="col" style="text-align:left;"| Description
|- style="vertical-align:top;"
! scope="row" style="text-align:left;"|Node
|The value that appears in the top left corner of the tree control.
|- style="vertical-align:top;"
! scope="row" style="text-align:left;"|Column
| The index of the leftmost column of information displayed in the tree control.
|}
|R/W
|X
|- style="background-color:#FFFFCC;"
|756A3C05
| [[TreeControl class/ColHdrVis property|ColHdrVis]]
|If TRUE, displays the column headers.
 
This property is similar to the <b>Visible Items&#0187;</b>Column Headers item on the shortcut menu of a tree control and the <b>Show column headers</b> option on the Appearance page of the <b>Tree Properties</b> dialog box.
|R/W
|X
|- style="background-color:#FFFFCC;"
|756A3C4D
| [[TreeControl class/HierarchyLinesVis property|HierarchyLinesVis]]
|If <b>Visible</b>, 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 <b>Invisible</b>, the hierarchy lines are always invisible. If <b>OS Default</b>, LabVIEW displays the hierarchy lines if trees in the operating system show hierarchy lines.
 
This property is similar to the <b>Visible Items&#0187;</b>Hierarchy Lines item on the shortcut menu of a tree control.
|R/W
|X
|- style="background-color:#FFFFCC;"
|756A3C22
| [[TreeControl class/Horizontal Lines Visible property|Horizontal Lines Visible]]
|If TRUE, displays horizontal lines that separate rows in the tree control.
 
This property is similar to the <b>Visible Items&#0187;</b>Horizontal Lines item on the shortcut menu of a tree control and the <b>Show horizontal lines</b> option on the Appearance page of the <b>Properties</b> dialog box.
|R/W
|X
|- style="background-color:#FFFFCC;"
|756A3C02
| [[TreeControl class/HScrollVis property|HScrollVis]]
|If TRUE, displays the horizontal scroll bar.
 
This property is similar to the <b>Visible Items&#0187;</b>Horizontal Scrollbar item on the shortcut menu of a tree control.
|R/W
|X
|- style="background-color:#FFFFCC;"
|756A3C3F
| [[TreeControl class/RowHdrVis property|RowHdrVis]]
|Shows the row headers.
 
This property is similar to the <b>Visible Items&#0187;</b>Row Headers item on the shortcut menu of a tree control and to the <b>Show row headers</b> option on the Appearance page of the <b>Tree Properties</b> dialog box.
|R/W
|X
|- style="background-color:#FFFFCC;"
|756A3C0A
| [[TreeControl class/SymsVis property|SymsVis]]
|If TRUE, displays the item symbols.
 
This property is similar to the <b>Visible Items&#0187;</b>Symbols item on the shortcut menu of a tree control and the <b>Show symbols</b> option on the Appearance page of the <b>Properties</b> dialog box.
|R/W
|X
|- style="background-color:#FFFFCC;"
|756A3C21
| [[TreeControl class/Vertical Lines Visible property|Vertical Lines Visible]]
|If TRUE, displays vertical lines that separate columns in the tree control.
 
This property is similar to the <b>Visible Items&#0187;</b>Vertical Lines item on the shortcut menu of a tree control and the <b>Show vertical lines</b> option on the Appearance page of the <b>Properties</b> dialog box.
|R/W
|X
|- style="background-color:#FFFFCC;"
|756A3C01
| [[TreeControl class/VScrollVis property|VScrollVis]]
|If TRUE, displays the vertical scroll bar.
 
This property is similar to the <b>Visible Items&#0187;</b>Vertical Scrollbar item on the shortcut menu of a tree control.
|R/W
|X
|}
</div>
 
==Methods==
<span class="mw-customtoggle-methodstable">Show/Hide TreeControl Methods Table</span>
<div class="mw-collapsible" id="mw-customcollapsible-methodstable">
{{VIServerLegend|showrte=TRUE}}
{| class="wikitable sortable"
|+ TreeControl Methods Table
! Method ID
! Short Name (English)
! Description
! RTE
|- style="background-color:#FFFFCC;"
|756A380F
| [[TreeControl class/Custom Item Symbols.Get Symbol method|Custom Item Symbols.Get Symbol]]
|Returns the item symbol as a cluster of image data so you can draw it as a picture using the Draw Flattened Pixmap VI or save the image to a file using the Graphics Formats VIs.
 
The cluster returned by this method is similar to the image data output of the Read JPEG File, Read PNG File, and Read BMP File VIs.
|X
|- style="background-color:#FFFFCC;"
|756A3810
| [[TreeControl class/Custom Item Symbols.Get Symbol Array method|Custom Item Symbols.Get Symbol Array]]
|Returns the item symbols as an array of clusters of image data so you can draw them as pictures using the Draw Flattened Pixmap VI or save the images to files using the Graphics Formats VIs.
 
The clusters returned by this method are similar to the image data output of the Read JPEG File, Read PNG File, and Read BMP File VIs.
|X
|- style="background-color:#FFFFCC;"
|756A3814
| [[TreeControl class/Custom Item Symbols.Revert Symbols method|Custom Item Symbols.Revert Symbols]]
|Resets all item symbols to the default symbols.
 
You can use a listbox symbol ring constant to view the default item symbols.
|X
|- style="background-color:#FFFFCC;"
|756A3813
| [[TreeControl class/Custom Item Symbols.Revert Symbol method|Custom Item Symbols.Revert Symbol]]
|Resets an item symbol to the default symbol for its index.
|X
|- style="background-color:#FFFFCC;"
|756A3811
| [[TreeControl class/Custom Item Symbols.Set Symbol method|Custom Item Symbols.Set Symbol]]
|Sets the image of an item symbol.
 
If you want to use a picture to set the symbol, use the Picture to Pixmap VI to convert the data to an <b>image data</b> cluster before using this method. The <b>image</b> cluster you wire to this method is similar to the <b>image data</b> input of the Write JPEG File, Write PNG File, and Write BMP File VIs.
|X
|- style="background-color:#FFFFCC;"
|756A3812
| [[TreeControl class/Custom Item Symbols.Set Symbol Array method|Custom Item Symbols.Set Symbol Array]]
|Sets the images of all item symbols.
 
If you want to use a picture to set the symbols, use the Picture to Pixmap VI to convert the data to an <b>image data</b> cluster before using this method. The <b>image</b> clusters you wire to this method are similar to the <b>image data</b> input of the Write JPEG File, Write PNG File, and Write BMP File VIs.
|X
|- style="background-color:#FFFFCC;"
|756A380A
| [[TreeControl class/Double Click method|Double Click]]
|Returns the unique tag of the last item the user double-clicked or returns an empty string if the user did not double-click an item since you last called this method.
 
You also can use the Double Click event to obtain information about items that the user double-clicks in the tree control.
|X
|- style="background-color:#FFFFCC;"
|756A3804
| [[TreeControl class/Edit Tree Items.Add Item method|Edit Tree Items.Add Item]]
|Adds an item to the tree control.
 
This method is similar to the <b>Insert Item Before</b> item on the shortcut menu of a tree control.
|X
|- style="background-color:#FFFFCC;"
|756A3805
| [[TreeControl class/Edit Tree Items.Add Item to End method|Edit Tree Items.Add Item to End]]
|Adds an item after all existing items in the tree control.
|X
|- style="background-color:#FFFFCC;"
|756A3817
| [[TreeControl class/Edit Tree Items.Add Multiple Items to End method|Edit Tree Items.Add Multiple Items to End]]
|Adds items after all existing items in the tree control.
 
This method returns an error if you set an item to an indent level that has no parent item.
|X
|- style="background-color:#FFFFCC;"
|756A3803
| [[TreeControl class/Edit Tree Items.Delete method|Edit Tree Items.Delete]]
|Deletes an item from the tree control. Wire an empty string to <b>tag</b> and a value of TRUE to <b>Delete Children</b> to delete all items in the tree control.
 
If you do not update the value of a tree control after deleting a row, the control may return old data. Deleting a selected item does not change the value of a tree control. After you delete an item,  the tree value may be a tag for an item that no longer exists. You can select one of the remaining tree items to update the value of the tree control.
 
This method is similar to the <b>Delete Item</b> item on the shortcut menu of a tree control.
|X
|- style="background-color:#FFFFCC;"
|756A380C
| [[TreeControl class/Edit Tree Items.Move Item method|Edit Tree Items.Move Item]]
|Moves an existing item to a new position in the tree control.
|X
|- style="background-color:#FFFFCC;"
|756A380E
| [[TreeControl class/Edit Tree Items.Set Tag method|Edit Tree Items.Set Tag]]
|Sets the unique tag of a tree control item, which you use to modify the item or to gather information about the item programmatically.
 
You cannot create a tag that begins with TREE_. All tags that begin with TREE_ are reserved for use by LabVIEW. If the tag you wire to the method begins with TREE_, LabVIEW prepends an underscore (_) to create a valid tag for the item. If the tag you wire to the method begins or ends with white space, LabVIEW removes the white space.
 
This method is similar to the <b>Tag</b> text box in the Edit Tree Items dialog box.
|X
|- style="background-color:#FFFFCC;"
|756A3807
| [[TreeControl class/Edit Tree Items.Sort Children method|Edit Tree Items.Sort Children]]
|Sorts the child items under an item alphabetically.
|X
|- style="background-color:#FFFFCC;"
|756A380D
| [[TreeControl class/Navigate Tree.Get Child method|Navigate Tree.Get Child]]
|Returns the tag of the first child item under an item. If the item has no child items, the method returns an empty string.
|X
|- style="background-color:#FFFFCC;"
|756A3800
| [[TreeControl class/Navigate Tree.Get Next method|Navigate Tree.Get Next]]
|Returns the tag of the first item after an item at the same level in the hierarchy. If no items exist after the item at the same level in the hierarchy, the method returns an empty string.
|X
|- style="background-color:#FFFFCC;"
|756A3801
| [[TreeControl class/Navigate Tree.Get Parent method|Navigate Tree.Get Parent]]
|Returns the tag of the parent item above an item. If the item is the topmost item in the tree control, the method returns an empty string.
|X
|- style="background-color:#FFFFCC;"
|756A3802
| [[TreeControl class/Navigate Tree.Get Path method|Navigate Tree.Get Path]]
|Returns an array of unique tags for each item in the path from the root level in the tree control to the item.
|X
|- style="background-color:#FFFFCC;"
|756A3816
| [[TreeControl class/Navigate Tree.Get Previous method|Navigate Tree.Get Previous]]
|Returns the tag of the item immediately before and at the same hierarchical level as the one you provide as an input. If no items exist before the item at the same level in the hierarchy, this method returns an empty string.
|X
|- style="background-color:#FFFFCC;"
|756A3809
| [[TreeControl class/Open/Close.Open/Close All method|Open/Close.Open/Close All]]
|
|X
|- style="background-color:#FFFFCC;"
|756A3808
| [[TreeControl class/Open/Close.Ensure Visible method|Open/Close.Ensure Visible]]
|
|X
|- style="background-color:#FFFFCC;"
|756A3806
| [[TreeControl class/Open/Close.Item method|Open/Close.Item]]
|
|X
|- style="background-color:#FFFFCC;"
|756A3815
| [[TreeControl class/Point To Row Column method|Point To Row Column]]
|Converts a pixel coordinate to a tag-column pair in the coordinates of the control. This method also returns whether the point is inside the bounds of the content rectangle and whether the point is within the custom symbol of the cell. The method returns the tag TREE_COLUMN_HEADERS when you wire a point that is within the tree's column headers.
 
<b>Note</b>  The <b>Point to Row Column</b> method does not return an error for points that lie within a control but outside of the actual cell area for that control, such as the scroll bar. Use the <b>InBounds</b> parameter to verify that a point lies within the cell area of a control.
|X
|}
</div>
 
==Events==
<span class="mw-customtoggle-eventstable">Show/Hide TreeControl Events Table</span>
<div class="mw-collapsible" id="mw-customcollapsible-eventstable">
{{VIServerLegend}}
{| class="wikitable sortable"
|+ TreeControl Events Table
! Code
! Name
! Type
|- style="background-color:#FFFFCC;"
|1073741846
|[[TreeControl class/Double Click event|Double Click]]
|Notify
|- style="background-color:#FFFFCC;"
|1073741880
|[[TreeControl class/Edit Cell event|Edit Cell]]
|Notify
|- style="background-color:#FFFFCC;"
|2147483703
|[[TreeControl class/Edit Cell? event|Edit Cell?]]
|Filter
|- style="background-color:#FFFFCC;"
|1073741855
|[[TreeControl class/Item Close event|Item Close]]
|Notify
|- style="background-color:#FFFFCC;"
|2147483665
|[[TreeControl class/Item Close? event|Item Close?]]
|Filter
|- style="background-color:#FFFFCC;"
|1073741854
|[[TreeControl class/Item Open event|Item Open]]
|Notify
|- style="background-color:#FFFFCC;"
|2147483664
|[[TreeControl class/Item Open? event|Item Open?]]
|Filter
|}
</div>


== History ==
== History ==

Revision as of 22:39, 8 September 2019

VI Server Class Information
Return to VI Server Class Hierarchy
Class Name TreeControl class
Class ID 66
Scope Basic Development Environment
Class Inheritance
Class Children

This class has no children.


    The TreeControl class is a class in the VI Server Class Hierarchy, (see also VI Server).

    Properties

    Show/Hide TreeControl Properties Table

    Legend
    R/WReadable/Writable Permissions
    RTEAvailable in the Run-Time Engine
    Basic Development Environment
    VI Scripting
    Private
    Deprecated
    TreeControl Properties Table
    Property ID Long Name (English) Description R/W RTE
    756A3C00Column Header Strings[]An array of the strings in the column headers.Read/WriteYes
    756A3C01Visible Items:Vertical Scrollbar VisibleIf TRUE, displays the vertical scroll bar.Read/WriteYes
    756A3C02Visible Items:Horizontal Scrollbar VisibleIf TRUE, displays the horizontal scroll bar.Read/WriteYes
    756A3C03Number of RowsNumber of visible rows in the tree control, excluding column headers. This property counts partially visible rows.Read/WriteYes
    756A3C04Number of ColumnsNumber of visible columns in the tree control. This property counts partially visible columns.Read/WriteYes
    756A3C05Visible Items:Column Headers VisibleIf TRUE, displays the column headers.Read/WriteYes
    756A3C06Autosizing Row HeightDetermines whether the rows autosize their height to display all text when fonts change or when the number of lines in a cell changes.Read/WriteYes
    756A3C07Multiple Line InputIf 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.Read/WriteYes
    756A3C08Selection ColorThe color used to highlight the selected items.Read/WriteYes
    756A3C09Top Left Visible CellThe 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.Read/WriteYes
    756A3C0AVisible Items:Symbols VisibleIf TRUE, displays the item symbols.Read/WriteYes
    756A3C0BKeyboard ModeSets 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).Read/WriteYes
    756A3C0CSelection ModeNumber of items the user can select. Valid values include 0 (zero or one), 1 (one), 2 (zero or more), and 3 (one or more).Read/WriteYes
    756A3C0DActive Item:TagThe tag of the item(s) to which you want to apply subsequent property changes.Read/WriteYes
    756A3C0EActive Item:Open?If TRUE, the active item(s) appears expanded to display items indented under it.Read/WriteYes
    756A3C0FActive Item:Disabled?If TRUE, the active item(s) appears dimmed and you cannot select the item(s).Read/WriteYes
    756A3C10Active Item:Child-Only?If TRUE, you cannot indent other items under the active item(s).Read/WriteYes
    756A3C11Active Item:Indent LevelThe 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.Read/WriteYes
    756A3C12Active Item:Symbol IndexThe index of the symbol for the active item(s).Read/WriteYes
    756A3C13Active Cell:Active Column NumberSets the column of the active cell(s).Read/WriteYes
    756A3C14Active Cell:Background ColorThe background color of the active cell(s).Read/WriteYes
    756A3C15Active Cell:Foreground ColorRead/WriteYes
    756A3C16Active Cell:Cell SizeThe size of the active cell(s) in pixels.Read/WriteYes
    756A3C17Active Cell:Cell Size:HeightThe height of the active cell(s) in pixels.Read/WriteYes
    756A3C18Active Cell:Cell Size:WidthThe width of the active cell(s) in pixels.Read/WriteYes
    756A3C19Active Cell:StringThe string in the active cell(s).Read/WriteYes
    756A3C1ATwisty TypeRead/WriteYes
    756A3C1CDisplayed ItemsReturns 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.Read OnlyYes
    756A3C1DVisible Items:Hierarchy Lines Visible OldRead/WriteYes
    756A3C1EAllow Selection of Parent ItemsIf 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.Read/WriteYes
    756A3C1FDrag/Drop:Allow Dragging of Parent ItemsIf FALSE, the user cannot drag an item in the tree control unless the item is child-only.Read/WriteYes
    756A3C20Drag/Drop:Allow Dropping Between ItemsIf FALSE, the user cannot drag an item to place it between two other items at the same hierarchical level.Read/WriteYes
    756A3C21Visible Items:Vertical Lines VisibleIf TRUE, displays vertical lines that separate columns in the tree control.Read/WriteYes
    756A3C22Visible Items:Horizontal Lines VisibleIf TRUE, displays horizontal lines that separate rows in the tree control.Read/WriteYes
    756A3C23Drag/Drop:Allow Dragging (Deprecated)Read/WriteYes
    756A3C24Expand/Contract Symbol:Symbol TypeThe 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 X), 3 (Windows), and 4 (Default).Read/WriteYes
    756A3C25Active Cell:Old Cell SizeRead/WriteYes
    756A3C26Active Cell:OldHeightRead/WriteYes
    756A3C27Active Cell:OldWidthRead/WriteYes
    756A3C28SizeThe width and height in pixels of the tree control.Read/WriteYes
    756A3C29Size:WidthThe width of the active cell(s) in pixels.Read/WriteYes
    756A3C2ASize:HeightThe height of the active cell(s) in pixels.Read/WriteYes
    756A3C2BContent Rect PositionThe coordinate in pixels, relative to the origin of the owning pane, of the top-left position of the content rectangle of the tree control.Read OnlyYes
    756A3C2CContent Rect Position:LeftThe coordinate in pixels, relative to the origin of the owning pane, of the left edge of the content rectangle of the tree control.Read OnlyYes
    756A3C2DContent Rect Position:TopThe coordinate in pixels, relative to the origin of the owning pane, of the top edge of the content rectangle of the tree control.Read OnlyYes
    756A3C2EContent Rect BoundsThe size in pixels of the content rectangle of the tree control.Read OnlyYes
    756A3C2FContent Rect Bounds:WidthThe width in pixels of the content rectangle of the tree control.Read OnlyYes
    756A3C30Content Rect Bounds:HeightThe height in pixels of the content rectangle of the tree control.Read OnlyYes
    756A3C31Active Cell:PositionThe coordinate in pixels, relative to the origin of the owning pane, of the top-left position of the active cell(s).Read OnlyYes
    756A3C32Active Cell:Position:LeftThe coordinate in pixels, relative to the origin of the owning pane, of the left edge of the active cell.Read OnlyYes
    756A3C33Active Cell:Position:TopThe coordinate in pixels, relative to the origin of the owning pane, of the top edge of the active cell.Read OnlyYes
    756A3C34Active Cell:Cell FontThe font of the active cell in the tree control.Read/WriteYes
    756A3C35Active Cell:Cell Font:NameThe name of the font in the active cell. Predefined font names include App Font, Sys Font, and Dlg Font.Read/WriteYes
    756A3C36Active Cell:Cell Font:SizeThe size of the font in the active cell.Read/WriteYes
    756A3C37Active Cell:Cell Font:BoldIndicates whether the text in the active cell is bold.Read/WriteYes
    756A3C38Active Cell:Cell Font:ItalicIndicates whether the text in the active cell is italic.Read/WriteYes
    756A3C39Active Cell:Cell Font:UnderlineIndicates whether the text in the active cell is underlined.Read/WriteYes
    756A3C3AActive Cell:Cell Font:StrikeoutIndicates whether to strike out the text in the active cell.Read/WriteYes
    756A3C3BActive Cell:Cell Font:ColorThe text font color in the active cell.Read/WriteYes
    756A3C3CActive Cell:Cell JustificationGets and sets the justification of text.Read/WriteYes
    756A3C3DAllow Editing CellsIf 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.Read/WriteYes
    756A3C3EOld Edit PositionRead/WriteYes
    756A3C3FVisible Items:Row Headers VisibleShows the row headers.Read/WriteYes
    756A3C40Row Header Strings[]An array of the strings in the row headers.Read/WriteYes
    756A3C41Is Array?Returns TRUE if the tree has an array data type.Read/WriteYes
    756A3C42Active Item:Row NumberThe 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.Read/WriteYes
    756A3C43All TagsThe 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.Read OnlyYes
    756A3C44Sibling MultiselectIf TRUE and the Selection Mode is 0 or More Items, users can select multiple items only if those items are siblings.Read/WriteYes
    756A3C46Drag/Drop:Allow DraggingIf TRUE, you can drag items from this control.Read/WriteYes
    756A3C47Drag/Drop:Allow DroppingIf 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.Read/WriteYes
    756A3C48Expand/Contract Symbol:Show Symbol at RootShows 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.Read/WriteYes
    756A3C49Drag/Drop:Drag ModeSets the default behavior for a drag and drop operation for the control. The settings apply only when the control configured is the source of the drag and drop operation.Read/WriteYes
    756A3C4ADrag/Drop:Allow Drag and Drop Outside ControlIf TRUE, this enables the control to drag items to other controls and accept drags from other controls.Read/WriteYes
    756A3C4BSelect Entire RowsHighlights the entire row if you select a row in the tree.Read/WriteYes
    756A3C4CEdit PositionThe 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.Read/WriteYes
    756A3C4DVisible Items:Hierarchy Lines VisibleIf 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.Read/WriteYes
    756A3C4EFocus ItemRead/WriteYes

    Methods

    Show/Hide TreeControl Properties Table

    Legend
    RTEAvailable in the Run-Time Engine
    Basic Development Environment
    VI Scripting
    Private
    Deprecated
    TreeControl Methods Table
    Method ID Long Name (English) Description RTE
    756A3800Navigate Tree:Get Next ItemReturns the tag of the first item after an item at the same level in the hierarchy. If no items exist after the item at the same level in the hierarchy, the method returns an empty string.Yes (Read/Write)
    756A3801Navigate Tree:Get Parent ItemReturns the tag of the parent item above an item. If the item is the topmost item in the tree control, the method returns an empty string.Yes (Read/Write)
    756A3802Navigate Tree:Get PathReturns an array of unique tags for each item in the path from the root level in the tree control to the item.Yes (Read/Write)
    756A3803Edit Tree Items:Delete ItemDeletes an item from the tree control. Wire an empty string to tag and a value of TRUE to Delete Children to delete all items in the tree control.Yes (Read/Write)
    756A3804Edit Tree Items:Add ItemAdds an item to the tree control.Yes (Read/Write)
    756A3805Edit Tree Items:Add Item to EndAdds an item after all existing items in the tree control.Yes (Read/Write)
    756A3806Open/Close:ItemExpands or closes a node in the tree control.Yes (Read/Write)
    756A3807Edit Tree Items:Sort ChildrenSorts the child items under an item alphabetically.Yes (Read/Write)
    756A3808Open/Close:Ensure VisibleScrolls to an item and if necessary, expands nodes in the tree control to make the item visible.Yes (Read/Write)
    756A3809Open/Close:AllExpands or closes all nodes in the tree control.Yes (Read/Write)
    756A380ADouble ClickReturns the unique tag of the last item the user double-clicked or returns an empty string if the user did not double-click an item since you last called this method.Yes (Read/Write)
    756A380CEdit Tree Items:Move ItemMoves an existing item to a new position in the tree control.Yes (Read/Write)
    756A380DNavigate Tree:Get ChildReturns the tag of the first child item under an item. If the item has no child items, the method returns an empty string.Yes (Read/Write)
    756A380EEdit Tree Items:Set TagSets the unique tag of a tree control item, which you use to modify the item or to gather information about the item programmatically.Yes (Read/Write)
    756A380FCustom Item Symbols:Get SymbolReturns the item symbol as a cluster of image data so you can draw it as a picture using the Draw Flattened Pixmap VI or save the image to a file using the Graphics Formats VIs.Yes (Read/Write)
    756A3810Custom Item Symbols:Get Symbol ArrayReturns the item symbols as an array of clusters of image data so you can draw them as pictures using the Draw Flattened Pixmap VI or save the images to files using the Graphics Formats VIs.Yes (Read/Write)
    756A3811Custom Item Symbols:Set To Custom SymbolSets the image of an item symbol.Yes (Read/Write)
    756A3812Custom Item Symbols:Set To Custom Symbol ArraySets the images of all item symbols.Yes (Read/Write)
    756A3813Custom Item Symbols:Revert To Built In SymbolResets an item symbol to the default symbol for its index.Yes (Read/Write)
    756A3814Custom Item Symbols:Revert All To Built In SymbolsResets all item symbols to the default symbols.Yes (Read/Write)
    756A3815Point to Row ColumnConverts a pixel coordinate to a tag-column pair in the coordinates of the control. This method also returns whether the point is inside the bounds of the content rectangle and whether the point is within the custom symbol of the cell. The method returns the tag TREE_COLUMN_HEADERS when you wire a point that is within the tree's column headers.Yes (Read/Write)
    756A3816Navigate Tree:Get Previous ItemReturns the tag of the item immediately before and at the same hierarchical level as the one you provide as an input. If no items exist before the item at the same level in the hierarchy, this method returns an empty string.Yes (Read/Write)
    756A3817Edit Tree Items:Add Multiple Items to EndAdds items after all existing items in the tree control.Yes (Read/Write)

    Events

    Show/Hide TreeControl Events Table

    Legend
    Basic Development Environment
    VI Scripting
    Private
    Deprecated
    TreeControl Events Table
    Code Name Description Type
    1073741880Edit CellGenerated when the user enters new text or changes text in a cell.Notify
    2147483703Edit Cell?Generated when the user enters new text or changes text in a cell but before the new or changed text appears.Filter
    1073741846Double ClickGenerated when a user double-clicks an item in the tree control.Notify
    1073741855Item CloseGenerated when the user closes an item in the tree control to hide any child items under the item.Notify
    2147483665Item Close?Generated when the user closes an item in the tree control to hide any child items under the item but before the item closes.Filter
    1073741854Item OpenGenerated when the user expands an item in the tree control to display any child items under the item.Notify
    2147483664Item Open?Generated when the user expands an item in the tree control to display any child items under the item but before the item opens.Filter


    History

    Version Change(s)
    LabVIEW 2018 More info to come.

    See Also