Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Suggestion For Best Practices with BO's
Message
 
To
09/09/2004 14:43:44
Joel Leach
Memorial Business Systems, Inc.
Tennessee, United States
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Miscellaneous
Thread ID:
00938040
Message ID:
00940966
Views:
14
Hi Joel

Yes I am using VFP8. I am just wondering how this might work if Excel was the frond End using my BO.

Thanks
Simon White


>Hi Simon,
>
>This is a perfect scenario for using BindEvent() in VFP8. Create an UpdateStatus() method on your BO that accepts progress information as parameters, then call that method during the long process. Use BindEvent() to call the appropriate method on your progress indicator every time UpdateStatus() is called. The BindEvent() statement should be in the code that instantiates the BO and the progress indicator.
>
>Of course, this requires VFP8. Let me know if you are using an older version.
>
>>Hi
>>
>>If I have a long process running in a Business Object and want to let the user see the progress what are some suggestion of best practice for this scenario which ensure the separation of the interface and Business Object layer?
>>
>>I am assuming the technique should work even if I switch from a Windows front end to a web front end etc.
>>
>>Thanks
>>Simon White
Simon White
dCipher Computing
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform