Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Possible to bindevent in Control vs. Container?
Message
De
19/05/2005 12:03:44
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Titre:
Possible to bindevent in Control vs. Container?
Divers
Thread ID:
01015856
Message ID:
01015856
Vues:
77
I was in the process of converting some Container based classes to Control based classes and discovered that bindevent() does not appear to work WITHIN a Control. I guess this makes sense because of a Control's encapsulation, but I would have thought that bindevent()'s issued within a Control's methods would have access to the Control's PEMs.

The workaround is just to explictly redirect events by placing redirect code in the events that need to be redirected vs. using bindevent.

I suspect this is all by design, just looking for a confirmation.

Thanks,
Malcolm
Malcolm Greene
Brooks-Durham
mgreene@bdurham.com
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform