Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Calling Event Objects from toolbar new clicks
Message
 
 
To
20/10/2004 09:55:38
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00952945
Message ID:
00952993
Views:
6
Hello Again Chris,

I was looking at doing just that, but I don't think I can simply override the new method as it contains code that checks to see if we are ready to create a new record, writes out buffers etc.

So what I was thinking was, pull out the line of code from the new method that actually calls the biz objects new method eg ;

*----------------------------------------
*--- Run the business object's New method
*----------------------------------------
lnRetVal = this.oBizObj.New()

place this in a method of its own at the cbizobjform level containing the original code and plug the two methods together.

Then on a form by form level I need to override I can override just that one line of code so that I can call whatever I like..ie the executeevents of the event class

Do you think this sounds ok?

Again thanks for the replies to all my MM messages, it does seem a little quiet in the MM section......

Thanks, Bernard.
Previous
Reply
Map
View

Click here to load this message in the networking platform