Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Activating one form from another
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00205057
Message ID:
00205067
Views:
17
Vidar,

You will need to know the name of the new window that you create after you create it. It depends on if you have a form manager in place or not. You can also get the _SCREEN.FORMCOUNT before launching your new form. Then you could get the name by using the following after you launch the form.

lnForms = _SCREEN.FormCount
DO FORM cformname
_SCREEN.FORMS(lnForms+1).SHOW()

This should work, but there are other ways to get it as well by call the name of the form with the SHOW().
Previous
Reply
Map
View

Click here to load this message in the networking platform