Q: backcolor of CompositePresenter

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Q: backcolor of CompositePresenter

Elliot Finley-2
If I drop a CompositePresenter (Default View) onto a newly created dialog,
the CompositePresenter shows up as white.  The backcolor is set to nil.  I
know that I can set the color to whatever (static color) I want, but is
there any way to have the CompositePresenter use the same color as it's
parent?  I know this should be simple, but I just can't seem to find it.

Any pointers appreciated.

TIA

Elliot


Reply | Threaded
Open this post in threaded view
|

Re: Q: backcolor of CompositePresenter

Syver Enstad-3
"Elliot Finley" <[hidden email]> writes:

> If I drop a CompositePresenter (Default View) onto a newly created
> dialog,
>
> the CompositePresenter shows up as white.  The backcolor is set to
> nil.  I
>
> know that I can set the color to whatever (static color) I want, but
> is
>
> there any way to have the CompositePresenter use the same color as
> it's
>
> parent?  I know this should be simple, but I just can't seem to find
> it.

I usually set it to one of the predefined "system colors", which
aren't really colors, but vary by the users configuration. F.ex Color
class>>face3d which is the button color on the users system. That way
you avoid the ugliness of hardcoding the color
 

--

Vennlig hilsen

Syver Enstad


Reply | Threaded
Open this post in threaded view
|

Re: Q: backcolor of CompositePresenter

Elliot Finley-2
Thanks, that is precisely what I was looking for.

"Syver Enstad" <[hidden email]> wrote in message
news:[hidden email]...

> "Elliot Finley" <[hidden email]> writes:
>
> > If I drop a CompositePresenter (Default View) onto a newly created
> > dialog,
> >
> > the CompositePresenter shows up as white.  The backcolor is set to
> > nil.  I
> >
> > know that I can set the color to whatever (static color) I want, but
> > is
> >
> > there any way to have the CompositePresenter use the same color as
> > it's
> >
> > parent?  I know this should be simple, but I just can't seem to find
> > it.
>
> I usually set it to one of the predefined "system colors", which
> aren't really colors, but vary by the users configuration. F.ex Color
> class>>face3d which is the button color on the users system. That way
> you avoid the ugliness of hardcoding the color
>
>
> --
>
> Vennlig hilsen
>
> Syver Enstad