Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Where goes the code
Message
From
03/06/1999 00:17:09
 
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Miscellaneous
Thread ID:
00225781
Message ID:
00225787
Views:
20
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform