Selecting treeview node via code

D

Dale Fye

I have some code that expands and collapses nodes of a treeview. When the
expansion/collapse code finishes, I want the node that was selected prior to
this operation to be selected again, and have it highlighted.

Using code like:

tvx.nodes(intIndex).selected = true

works to select the node, but it is not highlighted in the tree view until I
do something else in the treeview. I have tried refreshing the tree, and
that doesn't work.

Any recommendations
 
Top