Environment versions
Network:
Windows 2000 Server
>>>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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only