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:
00514391
Views:
10
>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

I used your code with the formname and it worked:

IF WVISIBLE('frmPracAdmin')
ACTIVATE WINDOW frmPracAdmin
zoom window frmPracAdmin norm
ELSE
DO FORM frmPracAdmin
ENDIF
Al Williams

Anola MB, CANADA
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform