Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Best method to determine if form is active
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00514365
Message ID:
00514391
Vues:
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

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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform