Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Prevent user to open form second time
Message
 
À
26/01/2005 10:18:56
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 7
OS:
Windows XP
Network:
Novell 4.x
Database:
Visual FoxPro
Divers
Thread ID:
00980766
Message ID:
00981734
Vues:
44
>Hi,
>
>Is there any way to prevent users to open an already open form twice.
>I made command button disable after open a form. But when the form release this command button does not enable.
>
>Please suggest me. Thanks - Saif

You've gotten a lot of good advice, but I'd suggest that you create a form manager class that does the checking others have suggested.

One thing I'm not clear on is that it seems that you're opening one form from another and don't want the user to be able to do this twice. If this is the case, then the simplest solution is to make the called form modal. This is a standard practice when you need information from the user before proceeding.
George

Ubi caritas et amor, deus ibi est
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform