Hate to bump posts but I still havn't been able to make this work or to
work around it. As little as I like the idea, I'm now willing to tie
this control library to one specific class of Form and just inherit
from it every time.
Suggestions for a route here? None of the control's events seem like
the correct place to do this setup one time only. I have a couple of
ideas but they seem like serious hacks and if there's a right way to do
this thing i'd like to try it.
(E-Mail Removed) wrote:
> Thaks for the suggestion. I had tried something like what you're
> talking about, but I don't know how to get the parent form. I'm not
> even sure it's available at this point. When a control like this is
> created and the constructor is called it's just kinda floating, isn't
> it? It doesn't have a parent form till the Controls.Add(control) is
> called?
>
> Anyway, I get null from .FindForm() and .Parent which leads me to
> belive, it's not there.
>
> Is there a better event of the control to do this in?
>
>
> Mark