Admin Production ni-theme
Current Publication

ATTR_TREE_RUN_STATE (Cell)

LabWindows/CVI

ATTR_TREE_RUN_STATE (Tree Cell)

Type: Tree Cell attribute
Description: Allows programmatic control of the run state of the tree cell.



Notes:

When you set this attribute to VAL_SELECT_STATE, if the cell is not being edited, setting this value causes no change.



When you set this attribute to VAL_EDIT_STATE, if the cell is not currently the active item, it becomes the active item. If another cell was being edited, those edits are committed and then the new active item is changed to edit mode.
Data Type: integer
Default Value: VAL_SELECT_STATE
LabWindows/CVI
Compatibility:
LabWindows/CVI 2009 and later

Values

VAL_SELECT_STATE The tree run state is set for item selection.
VAL_EDIT_STATE The tree run state is set for item label editing. This state is not valid if the tree is empty, or if the active item/specified cell has ATTR_NO_EDIT_LABEL set.