Edit Tree Items:Move Item Method
Short Name: Edit Tree Items.Move Item
Installed With: Full Development System
Class: TreeControl Methods
Moves an existing item to a new position in the tree control.
Parameters
Name | Required | Description |
---|---|---|
tag | No | Unique tag of the item you want to move. |
New Parent | No | Unique tag of the item under which you want to move the item. The default is an empty string, which moves the item to the leftmost level in the hierarchy. |
New Position | No | Sets where to place the item in relation to the item whose tag you wire to New Parent. Wire a value of 0 (default) to place the item above the first child item, wire a value of 1 to place the item above the second child item, and so on. Wire a value of –1 to place the item under the last child item. If the value you wire to this input is greater than the number of child items under the parent item, the method places the item under the last child item. |
Carry Children | No | If TRUE, the method moves any child items with the item you want to move. If FALSE (default), the method moves the child items under the parent item of the item you want to move. |
Remarks
The following table lists the characteristics of this method.
Available in Run-Time Engine and Real-Time Operating System | Yes (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 |