Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Nodeclick in treeview- calling programatically?
Message
From
24/05/1999 19:41:24
 
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00222225
Message ID:
00222272
Views:
18
>Hi
>I'm trying to click on a node in my treeview programatically but I've been unable to figure out the correct command. I've tried:
>this.oletreeview.nodes(1).click()
>this.oletreeview.nodes(1).nodeclick()
>this.oletreeview.nodeclick(1)
>this.oletreeview.click()
>etc....
>
>None of these work..Please help
>What's the correct command to get it to work?
>Thanks
>Allen

The nodeclick method requires a parameter, which is an object reference to the node you want clicked.

If you wanted the first node in your treeview clicked...

With ThisForm

.oletreeview.nodeclick(.oletreeview.Nodes(1))

EndWith

Joe
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform