Setting Background Color

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

Setting Background Color

Joey Gibson-2
This is a feature request, I suppose. Or it may show that I don't know
how to use D4, but one of the things I find myself doing a lot (and
forgetting how to do between occurrences) is to set the background color
of a window to the system color using this code in the view composer:

(SystemColor fromId: COLOR_3DFACE)

Is there any way to integrate these 'system' colors into the color
palette or to let one select them? I don't want to actually select
'grey' from the standard color picker since if a user is using the
Desert Windows theme, I want the background to be tan instead of grey.
Is there already something in place to do this that I've overlooked? If
not, is there some good way to do this? I don't have any suggestions,
just the desire to have it.

Joey

--
-- Blue canary in the outlet by the lightswitch,
--  who watches over you...


Reply | Threaded
Open this post in threaded view
|

Re: Setting Background Color

Blair McGlashan
"Joey Gibson" <[hidden email]> wrote in message
news:[hidden email]...

> This is a feature request, I suppose. Or it may show that I don't know
> how to use D4, but one of the things I find myself doing a lot (and
> forgetting how to do between occurrences) is to set the background color
> of a window to the system color using this code in the view composer:
>
> (SystemColor fromId: COLOR_3DFACE)
>
> Is there any way to integrate these 'system' colors into the color
> palette or to let one select them? I don't want to actually select
> 'grey' from the standard color picker since if a user is using the
> Desert Windows theme, I want the background to be tan instead of grey.
> Is there already something in place to do this that I've overlooked? If
> not, is there some good way to do this? I don't have any suggestions,
> just the desire to have it.

The only thing I can suggest is the slightly shorter:

    Color face3d

Short of providing a custom color dialog, I can't think of a reasonable way
to do what you want, although I suppose one could have a list of common
choices associated with the aspect that could appear as a third pane. I'll
have to speak to Mr Published Aspect Inspector about that though.

Regards

Blair


Reply | Threaded
Open this post in threaded view
|

Re: Setting Background Color

Chris Uppal-3
In reply to this post by Joey Gibson-2
Joey Gibson wrote:

> [...] one of the things I find myself doing a lot (and
> forgetting how to do between occurrences) is to set [...]

You are not alone in these things...

    -- chris