General information
Category:
ActiveX controls in VFP
>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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only