Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Where goes the code
Message
 
À
03/06/1999 00:17:09
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Divers
Thread ID:
00225781
Message ID:
00225813
Vues:
23
>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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform