Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Best method to determine if form is active
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00514365
Message ID:
00514370
Views:
13
Allan,

You can use the form's caption to test if the form exists using the following code:-

IF WVISIBLE('FormCaption')
ACTIVATE WINDOW FormCaption
OTHERWISE
DO FORM FormName
ENDCASE

DO CASE
CASE WVISIBLE('frmCustomer')
ACTIVATE WINDOW frmCustomer
OTHERWISE
DO FORM customer
ENDCASE
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform