refresh treeview on a node

  • Thread starter Thread starter iccsi
  • Start date Start date
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,
 
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

tree view list refresh 5
Selecting treeview node via code 1
Sorting treeview nodes 1
treeview control issue 1
remove node children 2
tree view list node event 2
treeview flicker (goes blank) 1
Treeview control 3

Back
Top