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:
00225800
Vues:
16
Thanks very much John.
If the commandbutton should control initiation and completion status displays, should it also handle the if messagebox("Continue",33,"Continuing Deletes current record")=1 type decision prompts? Also is there anything else that the command button should handle? I just finished reading Egger's book and I'm trying to clear up such issues. < TIA >

>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?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform