Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Prevent duplicate open forms
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00019652
Message ID:
00019656
Vues:
27
>hi,
>how do I test if a form is already open (not
>necessarily active) before I DO FORM ""?
>
>I only want one instance of any form
>Thanks
>John Morga
>Jmorga@spec.net

You can use this syntax:

DO FORM yourformscxname NAME yourformassociatedname

From the menu, you can skip for TYPE('yourformassociatedname')='O' AND NOT NULL('yourformassociatedname').

I am not sure about the NULL syntax. You might want to verify that from the help.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform