Versions des environnements
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.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement