Active Item:Row Number Property
Short Name: ActiveItemRowNumber
Installed With: Base Package
Class: TreeControl Properties
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.
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 | Yes |
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:Row Number property.