Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Where goes the code
Message
De
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:
00225787
Vues:
16
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.

>If the job of a command button is to initiate code that goes in a custom method of the form or in a method of a separate object, where is the best place to put the conclusion of a process: the message that goes in the status bar indicating completion of the process or error in the process or whatever?
>
>Is it in the command button? In the method code? In its own message object?
------------------------------------------------
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform