Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to access to the form
Message
From
06/12/2005 08:49:58
 
 
To
06/12/2005 05:28:53
General information
Forum:
Visual FoxPro
Category:
Menus & Menu designer
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01075217
Message ID:
01075267
Views:
23
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform