Company Events Academic Community Support Solutions Products & Services Contact NI MyNI

Deleting Rows in Listboxes and Tree Controls

LabVIEW 2013 Help

Edition Date: June 2013

Part Number: 371361K-01

»View Product Info

In a listbox, right-click the row you want to delete and select Delete Row from the shortcut menu to delete the entire row. In a tree control, right-click the row you want to delete and select Delete Item from the shortcut menu to delete the row. Subsequent rows in the listbox or tree control shift up.

Note Note  Deleting an item in a tree control deletes all of the items underneath the item.

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.

Note Note  You cannot delete individual cells in a row.

Right-click a tree control and select Delete All Items from the shortcut menu to delete all rows in the tree control.


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit