Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Where goes the code
Message
 
To
04/06/1999 02:06:52
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Miscellaneous
Thread ID:
00225781
Message ID:
00226393
Views:
16
>Hiya Jim ----
>
>OK....it could go both ways....what if the processing object is a DLL that can't expose a UI? If the outcomes are simple, then a DO CASE in the button after a value return can show a message....

John,

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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform