LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

How to delete all items in a tree control?

Hi there,

Any advice to delete a tree control? Before populating my tree control with new values, i want to erase all the existing items in the tree. I don't find a quick way to do it.

Thanx.
Olivier.
0 Kudos
Message 1 of 2
(3,686 Views)
Since the tree control is a special type of list control, you can use all the list control functions on a tree control. To delete all the items in a tree control, call DeleteListItem (panel, tree, 0, -1).

- jared
Message 2 of 2
(3,680 Views)