Active Item:Row Number Property

Short Name: ActiveItemRowNumber

Requires: Base Development System

Class: TreeControl Properties

To Use: Create a property.

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.

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.

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:Row Number property.

 Open example  Find related examples