Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to access to the form
Message
De
06/12/2005 08:49:58
 
 
À
06/12/2005 05:28:53
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de menu & Menus
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01075217
Message ID:
01075267
Vues:
24
>My menu need to need to call form method. But menu command cannot accept THISFORM.button1.click. How can I access to the form method ?
>
>TIA.


instantiate the form via createobject() and then make references via form object name like:

goForm=createobject([yourname])


in menu:

goform.button1.click()
* Human is a question asked by birth and answered by death. Machine is another kind of question with another kind of answer
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform