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:
00514372
Views:
11
Allan,

Sorry, scrap the last message as I hit the send button while I was copying and pasting code.

Try:-

IF WVISIBLE('FormCaption')
ACTIVATE WINDOW FormCaption
ELSE
DO FORM FormName
ENDIF

You may want to play around with the ACTIVATE WINDOW command depending or what you want to do with the re-activated window.

Regards,

Aaron
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform