Hallo Bob,
look at IComponentChangeServices.ComponentAdded event. You can hook
it in the .Site setter and then your component gets informed that it
is created. Clear the .Text (or set to a different value) in
the event handler (and you can unhook here, since you need
the event no more).
HTH,
Dima.
> I have a control whose text property I don't want automatically set on
> creation in the forms designer (i.e. "MyUserControl1"), I want this left
[quoted text clipped - 4 lines]
> TIA,
> Bob
Bob - 07 May 2004 19:43 GMT
Neat, thank you!
Bob
> Hallo Bob,
>
[quoted text clipped - 15 lines]
> > TIA,
> > Bob
Kent Boogaart - 08 May 2004 04:56 GMT
Hi Bob,
Would you mind posting the relevant portion of your code that achieves this?
I am trying to do a similar thing but am having no luck.
Thanks,
Kent
> Neat, thank you!
>
[quoted text clipped - 22 lines]
> > > TIA,
> > > Bob