Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
BINDEVENT at INIT
Message
 
 
À
16/05/2007 12:30:27
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01226051
Message ID:
01226078
Vues:
14
>Hi Naomi,
>
>Thanks for responding. You're completely right about the scope of things at INIT. I did add the code to the form INIT, passing in the reference to the collection (THISFORM.o_form_coll) and the controls are able to resolve it. Thanks for the great suggestion -- that worked.
>
>However, the BINDEVENT on the CA Vs form controls is still a mystery. I do know the DE gets created first along with objects on it (i.e. CA's). It makes me wonder if this is too early for the BINDEVENT command to get a resolution on THISFORM in the INIT of the CA.
>
>Thanks again,
>Larry

I'm sorry, I haven't tried to bind CA events to something, so I don't know. I may try this tonight.

But you can also have a separate method in your CA class, from which you can call BindEvent. Say, add Initialize method to CA base class, then you can also call it from form's Init.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform