Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Nodeclick in treeview- calling programatically?
Message
De
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:
00222272
Vues:
20
>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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform