I'm trying to select a specific node in code, I have somehow managed to locate the node in software, through a series of sorts, but have not determined how to highlite the selected node on my screen so it displays as if I selected it with a mouse click. Ideally, I'd like to deselect an original, or prior, selection made either by software or mouse click, and have the new node displayed as selected, this as I said, under software control.
The nodes in the standard VB TreeView control have a property .Selected you'd set to true like:
tvTree.Nodes(n).Selected = True
or if you have a reference to the node in a variable nod then you go:
nod.Selected = True
I'd suppose the VBAcc Tree nodes should have a similar feature.
WoF Thanks for the assistance. Feel foolish for such an obvious answer, but on the other hand, I now have the solution. I have taken your tip and used same argument to expand a node. See, I didn't need to ask a second time!