Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Calling Event Objects from toolbar new clicks
Message
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Titre:
Calling Event Objects from toolbar new clicks
Divers
Thread ID:
00952945
Message ID:
00952945
Vues:
59
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform