Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can delegate in bindevent pass parameter to method?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00943649
Message ID:
00944044
Vues:
14
>Nick,
>
>You can use AEVENTS() function to get reference to the source of the event.
>
>>I'm trying to bind my pages activate event to a method that will determine how to put cursor on first textbox on the page. I was trying to pass the page name to the method being bound so that I don't have to loop though may pageframe again, but I see your point. When my method runs through activate, I should just loop through in the method and determine what page I'm on. Your right, it doesn't make sense to pass parameter to object being bound.
>>


I love this bindevent control. I'll try the AEVENT. By the way is it a good idea to unbind all events before releasing a class form? anyway thanks for your help again.

nick
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform