Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Which object called me?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00859119
Message ID:
00859134
Vues:
16
>Hello all,
>
> How do I tell a form which commandbutton on another form called it?
>
>Thanks

I handle it this way.

Define a custom method on the primary BizObj named CallNextForm

In the Click event of each button that calls the next form:
ThisForm.oBizObj.CallNextForm("cButtonName")

In the CallNextForm method:
Parameters tButtonName
DoForm("cNextFormName",tButtonName)

IN the INIT of the called form:
Parameters tButtonName


HTH,
Bob Kocher
www.swfox.net
Start making your plans now to attend Southwest Fox 2006
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform