Active Item:Indent Level Property
Short Name: Indent Level
Installed With: Full Development System
Class: TreeControl Properties
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.
Remarks
The following table lists the characteristics of this property.
Available in Run-Time Engine and Real-Time Operating System | Yes |
Permissions | Read/Write |
Settable when the VI is running | Yes |
Loads the front panel into memory | No |
Need to authenticate before use | No |
Loads the block diagram into memory | No |
Remote access disallowed | No |
Must wait until user interface is idle | No |
Available with control VIs | No |
Available with global VIs | No |
Available with strict type definitions | No |
Available with polymorphic VIs | No |
Example
Refer to the Tree Enhancements VI in the labview\examples\general\controls\Tree Control Directory.llb for an example of using the Active Item:Indent Level property.