Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Which object called me?
Message
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00859119
Message ID:
00859134
Views:
15
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform