Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to prevent run the Form twice?
Message
De
18/08/2013 05:36:03
 
 
À
14/08/2013 04:37:35
Yim Ming Sun Derek
Spacious Design Consultant
Hong Kong, Hong Kong
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2008
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01580450
Message ID:
01580717
Vues:
35
>Hi,
>I want to prevent user to run or open the FORM twice,
>how to check the specific form are opened or active ?
>
>Please advise.
>
>Derek Yim

Try
if wexist('MyForm')
   activate window MyForm
else
   do form MyForm
endif
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform