Active Item:Indent Level Property

Short Name: Indent Level

Requires: Base Development System

Class: TreeControl Properties

To Use: Create a property.

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.

Example

Remarks

The following table lists the characteristics of this property.

Data type
PermissionsRead/Write
Available in Run-Time EngineYes
Available in Real-Time Operating SystemYes
Settable when the VI is runningYes
Loads the front panel into memoryNo
Need to authenticate before useNo
Loads the block diagram into memoryNo
Remote access allowedYes

Example

Refer to the Tree VI in the labview\examples\Controls and Indicators\Tree directory for an example of using the Active Item:Indent Level property.

 Open example  Find related examples