Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
BINDEVENT and Parameters
Message
 
 
To
23/06/2005 08:31:20
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01025777
Message ID:
01025784
Views:
22
You cannot. The only parameters that delegate will get would be the ones passed to the event it bound to, if there're any. You can create and bind some other method that will determine tnInvoice_No and tdInvoice_Date and in turn call CreateInvoice.

>I was wondering if anyone knew how to pass user defined parameters to a bind event.
>
>The following line of code is used to bind a command button in a grid to the method CreateInvoice in the form. The problem is I also need to pass two addtional parameters tnInvoice_No and tdInvoice_Date.
>
>=BINDEVENT(.cmdInvoice,"Click",Thisform,"CreateInvoice")
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform