Re: Using Notification to track component creation...

From: Raptor (bogus_at_none.com)
Date: 01/31/05


Date: Mon, 31 Jan 2005 13:50:45 -0800


Bruce Roberts <ber@bounceitattcanada.xnet> wrote in message
news:elwLd.2697$Ck1.625190@news20.bellglobal.com...
>
> "Raptor" <bogus@none.com> wrote in message
> news:ctch6j0g7l@news2.newsguy.com...
> > Again, the objective is for my language management unit/component to be
> able
> > to set component captions/hints ON STARTUP, etc., even though the
> > translating unit/component might be created before some or all the other
> > components are in existence. Hey, is that asking so much? Heh.
>
> You might want to give some serious thought to creating and using a
> tCustomForm descendant for the project. Your form can have a simple
override
> of Loaded (and Notification if run-time component creation takes place)
that
> will cause translation of all controls on the form.

I certainly will. I believe that or variations have been suggested.

First, though, I'd like to see if a reliable drop-onto-stock-form
unit/component solution can be achieved, even if not optimal, for
educational reasons if nothing else. Unless I'm failing to understand
something, creating a custom form descendant seems a project-wide approach
instead of a component approach.

Raptor