Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Possible to bindevent in Control vs. Container?
Message
From
19/05/2005 12:03:44
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Title:
Possible to bindevent in Control vs. Container?
Miscellaneous
Thread ID:
01015856
Message ID:
01015856
Views:
76
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
Next
Reply
Map
View

Click here to load this message in the networking platform