Graeme Geldenhuys wrote:
> On 4/16/07, Marc Weustink <[EMAIL PROTECTED]> wrote:
>>
>> That it doesn't work for you doesn't mean that it is a bad choice. It
>> was choosen this way, since setting the color would destroy normal
>> theming, so the bitmap background of forms would become invisible.
>>
>
> Then why give use the choice of a Color property on a TForm? Why
> allow TPanel's Color to work and a few others... It's inconsistent
> having some components Color property to work and others not. Also I
> thought LCL is trying to be compatible with Delphi's VCL, which does
> allow the user to override the default Color.
Yes, that is why there is a color property, and until full theming
support is implemented, this behaviour will stay this way.
> Forcing all GTK applications to always use the theming colors is *not*
> always the developers desire.
Forcing ppl to not use their theme either!
> Think in terms of fullscreen
> applications like Kiosk, etc. A simple example of an application than
> shouldn't give a toss about the colors used by the window manager.
And all other kinsd of apps ?
> Instead the GUI of Kiosk apps are much more graphical. Images for
> buttons, colorful backgrounds ,etc..
>
> Sorry, a bad design choice!
It is not a design choice, but more a choice of importance. All things
need to be implemented one by one and at that time the ability to keep
the form background was choosen above setting the backcolor. Since for
setting the back color you can have workarounds, for not showing the
theme background not.
Marc
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives