Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Where goes the code
Message
 
To
03/06/1999 00:17:09
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Miscellaneous
Thread ID:
00225781
Message ID:
00225813
Views:
22
>Hi Terry ---
>
>It belongs in the command button. The separate object communicates it's end status to the button which relates the status. If there is a wide range of outcomes, consider a messenger which would communicate the text of the outcome to the button.

John

I disagree, the button is strictly responsible for providing a mechanism for the user to communicate with the system. The button should do absolutely nothing but fire some other method of some other object. The use of a message object to handle display is a matter of design and it could be used or the process method could do the messaging.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform