Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Prevent user to open form second time
Message
 
 
À
26/01/2005 11:39:37
Jim Winter
Jim Winter Consulting
Hinesburg, Vermont, États-Unis
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:
00980873
Vues:
65
Hi, Jim.

>Personally, I like Martin's approach better. However, if the calling form is named 'Form1' and the Command button is named cmdForm2,
>Form1.cmdForm2.Enabled = .T.
>should work.

Although this could work, it would mean highly coupling both forms, and this would hinder further reuse. Many solutions like this could actually work, but also drive you to an inflexible architecture.

Time to refactor! ;-)

Best regards,
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform