Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Where to display messagebox from
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Where to display messagebox from
Versions des environnements
Visual FoxPro:
VFP 6
OS:
Windows 2000 SP4
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
00962154
Message ID:
00962154
Vues:
45
I am having a difference of opinion on where to display a messagebox from.
1. Within the method that test different passed variables.
or
2. From the code calling the method by returning a T/F or returning the message to display and checking to see if empty(msg) to determine if displayed

I choose #2 mainly because I read somewhere that meesages should not be displayed from a method and it clearer coding.

Thanks for any opinions, Chuck
Extreme Programming = Plan -> Design -> Code -> Test
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform