Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Where goes the code
Message
De
04/06/1999 13:57:06
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Divers
Thread ID:
00225781
Message ID:
00226633
Vues:
22
Hi Jim ---

OK, OK. On reflection, you're right. I, too, tend to have button.clicks() call Form or business object methods. I guess I was referring to simple function buttons. Or, maybe, I should stop trying to post intelligent stuff at 1AM :-)



>Using the button to display messages is never a good design as that is not the purpose of the button. In your case of the DLL, I would create a method of the form (it is responsible with communicating from the system to the use) that called the DLL and handled any UI involved. The button would still ONLY call the form's method and not present any dialogs or messageboxes to the user.
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform