| || |
Find and process multiple Treeivew nodes
I have been asked to change a setting for multiple Treeview nodes with the same given name. I've looked at the properties of the treeview by creating a property check but I can not find anything that would allow me to recursively search the treeview for a particular node name. I've included a screen shot of the treeview in question. The nodes that I'm trying to find and process are the ones named Flowsheet. There can be 1 or more flowsheet nodes.
Re: Find and process multiple Treeivew nodes
Still working on a solution but thought that I would update my append with what I have found so far. If you add a reference to your script for the COMCTL32.OCX or MSCOMCTL.OCX you are then able to declare and use a treeview object. By adding this reference you are then able to navigate the Treeview using the child, firstsibling, lastsibling, parent and next properties. There are also properties that give you the count of nodes, whether a node is selected or expanded.
More information can be found at: