General information
Category:
Object Oriented Programming
>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.
This seems even more obvious when the same method can be called (even if not today, maybe in the future) from the menu, a hot key, a toolbar, etc.
Vlad
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only