Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
BINDEVENT and Parameters
Message
De
23/06/2005 09:28:03
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01025777
Message ID:
01025820
Vues:
21
>>>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
Fil
Voir

Click here to load this message in the networking platform