refresh treeview on a node

I

iccsi

I wanted to refresh to delete all nodes on the tree view or to check
if noe exists then do nothing.

treeview.nodes.remove 1 to the remove whole tree, but I want to remove
children of the selected node only.

Are there any ways to complete this task?

I would like to know that can I remove all children nodes under
selected item only, not the whole tree.

or I can check if children exists then to keep the tree view do
nothing.


Your help is great appreciated,
 
S

Stefan Hoffmann

hi,
treeview.nodes.remove 1 to the remove whole tree, but I want to remove
children of the selected node only.
Are there any ways to complete this task?
Press F2 in the VBA IDE, this opens the Object Browser. Search for
TreeView and inspect it and the nodes collection...

Basically you must only remove the correct node.

mfG
--> stefan <--
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top