TreeControl class/Edit Tree Items.Delete Item method

From LabVIEW Wiki
Jump to: navigation, search
VI Server Method Information
Method ID 756A3803
Scope Basic Development Environment
Data Name Edit Tree Items.Delete
Short Name* Edit Tree Items.Delete
Long Name* Edit Tree Items:Delete Item
* Displayed here in English. Short and Long names appear in the language of the LabVIEW IDE.
Owning Class ID 66
Owning Class Name TreeControl Class
Return Data Type No return value
Invoke Node Edit Tree Items:Delete Item
Available in Real-Time Operating SystemYes
Available in Run-Time EngineYes (Read/Write)
Loads the block diagram into memoryNo
Loads the front panel into memoryNo
Need to authenticate before useNo
Remote access allowedYes
Settable when the VI is runningYes

Deletes an item from the tree control. Wire an empty string to tag and a value of TRUE to Delete Children to delete all items in the tree control.

If you do not update the value of a tree control after deleting a row, the control may return old data. Deleting a selected item does not change the value of a tree control. After you delete an item, the tree value may be a tag for an item that no longer exists. You can select one of the remaining tree items to update the value of the tree control.

This method is similar to the Delete Item item on the shortcut menu of a tree control.


Data type Name Required Description
String Tag No
Boolean Delete Children? No



Version Change(s)
LabVIEW 2018 More info to come.

See Also

External Links