Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Where goes the code
Message
From
04/06/1999 13:57:06
 
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Miscellaneous
Thread ID:
00225781
Message ID:
00226633
Views:
20
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform