General information
Category:
ActiveX controls in VFP
Many thanks. I was pulling out my hair.
I wish the doc's for these controls were better. I spent too much time determined to figure out the solution.
>>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
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