Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Calling Event Objects from toolbar new clicks
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Title:
Calling Event Objects from toolbar new clicks
Miscellaneous
Thread ID:
00952945
Message ID:
00952945
Views:
58
Hi

I'm a long time foxpro developer who's pretty new to MM and I'm hoping somebody on here could give me a few pointers.

I have two biz objects that represent, say for example, a customer and a bank account. Not a very real world example or a good example of a one to one relationship but I'm trying to keep the example simple.

When a new customer is created an new bank account record must also be created. There is more to it than this, linkages must be setup etc...

Looking at the MM ref manual an event class object is the way to go.

I've created an event class that, when called, adds a new record to each table via a seperate call to each of the biz objects and then sets up the linkage between the records etc.

My problem is this ;

How do I get the framework to call the executeevent method of the event class rather than the new method of the primary biz object on the form when the new button is clicked on the toolbar?

Any pointers would be gratefully recieved,

Cheers, Bernard
Next
Reply
Map
View

Click here to load this message in the networking platform