Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Treeview again
Message
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Title:
Miscellaneous
Thread ID:
00351312
Message ID:
00351319
Views:
30
Peter,

>I have my treeview populated showing the whole hierarchy. somewhere down the >tree is thecurrent item.
>1) I would like to make this the selecteditem (blue backcolor)
>2) If the user clicks on another item I need to access this.
>.SelectedItem is an objectwhich does not reveal itself in the
>debugger. What is the structure??

2) I've always been able to get thisform.oleTree.SelectedItem.(Property) to show up in the debugger.

1) thisform.oleTree.Nodes.Item(Index or Key).Selected = .T.

Hope this helps,

Phil
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform