Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Parameters of a delegate method in bindevent()
Message
 
À
15/12/2003 00:43:22
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00859031
Message ID:
00859090
Vues:
15
Yeah, it can get a little tricky when you bind several events to one method, but analyzing AEVENTS(aArray, 0) is all we can do. But you also have the option to bind events to different methods in the eventhandler object, is there a particular reason why you want to handle them in one method?

>Nick,
>
>Thank you for the reply. I asks about this because in my case, the delegate method doesn't use any parameters from the binded events. With this requirement, if I want to bind another event to that delegate method and the new binded event has more parameters, I have to change the delegate method. I wish that there is a parameter in the bindevent() to suppress this requirement. Without such parameter, the delegate method is sort of having dependency on its binded events.
>
>Thank you,
>
>Peter
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform