Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Nodeclick in treeview- calling programatically?
Message
 
À
24/05/1999 19:41:24
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00222225
Message ID:
00222342
Vues:
22
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform