Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Treeview node highlight 1

Status
Not open for further replies.

robdon

Programmer
Joined
May 21, 2001
Messages
252
Location
ES
Hi,

Another TreeView question....

How do I make a node 'highlighted' like when you click on a node with the mouse.

I have done a TreeView.Notes(10).Selected = True

This sets the node as the selected node but there is no visual sign that shows it is highlighted...

Any Ideas?

Thanks again,

Rob Donovan
 
Hi Rob.
You probably forgot to add Treeview.SetFocus after that.
The focus is probably on another control so you won't see the node highlighted.
This should fix it.
 
Thanks,

That's it, easy when you know how!! :)

Rob D
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top