I have created a custom control and I wish to extend the properties of any
control that is placed within my custom control I have also created an
IExtenderProvider class that works except that I do not know how to restrict
CanExtend based on extendee.parent since the parent is null at that point.
Any idea?
Thanks,
David Martin
schneider - 15 Jun 2004 06:07 GMT
Only way I can think of:
Flag the null parents, then retry all the controls.parent when they are
added.
Or possibly there is some way to SuspendLayout, not sure how, anyone else?
Schneider
> I have created a custom control and I wish to extend the properties of any
> control that is placed within my custom control I have also created an
[quoted text clipped - 5 lines]
> Thanks,
> David Martin
WALDO - 02 Jul 2004 15:05 GMT
You could try:
CType(extendee, Component).Site.Container Is Me
> I have created a custom control and I wish to extend the properties of any
> control that is placed within my custom control I have also created an
[quoted text clipped - 5 lines]
> Thanks,
> David Martin