Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
BINDEVENT and Parameters
Message
From
23/06/2005 09:28:03
 
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:
01025820
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.
>>>
>(.cmdInvoice,"Click",Thisform,"CreateInvoice")
>>
>>An additional complexity is that I have added two command buttons to the column of a grid using AddObject. I am using ".DynamicCurrentControl" to determine which one is displayed.
>>
>>I know I can bind two seperate events, but I was wondering if there was any way I could pass the command button objects to the procedure then evaluate the buttons caption to determine what code to execute.
>
>You can get the source of event with AEVENTS() function.

Thanks
That did the trick.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform