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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

question about treeviews

Status
Not open for further replies.

checkOut

Technical User
Oct 17, 2002
153
NL
I want to select the previous node in a treeview

I have nNode1 as node
I run some functions on the treeview control and after that
I ask for:

nNode1.Previous.Selected = True

error: the item's control has been deleted
 
treeview1.nodes("a" & tempkey).selected = true do the job for me. The problem is: it's not visible for the user that the item is selected. So, I can use the selected value in further code, but the thing is: I want to give the user to see what happens. Anybody know how to highlight the value?

Thnx Gerard
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top