On 06/03/2012 12:25, Sven Barth wrote:
Am 06.03.2012 11:45, schrieb Paul Ishenin:
06.03.12 18:30, Juha Manninen пишет:
I don't know if the color support is a standard feature in these
controls but surely it feels illogical that setting a color doesn't do
anything.

Color property on windows depends too much on theme engine. Some colors
may work on XP but does not work on Vista themes. Some colors does not
work on XP too.

The same color property works with other widgetsets. If it is not
supposed to work on Windows it should be mentioned as a restriction.

It may be mention there as may not work.

A quick test using Delphi 2007 on Windows 7 (active Aero) shows:
Neither Color nor Font.Color are respected for TRadioButton and TCheckBox. For TComboBox both are respected if the list is not csDropDownList (otherwise they are ignored as well).

I just tested with the "turbo Delphi" (the one that was free a few years back).
On Vista, tha same PC where Lazarus does not obey colors.

radio, checkbox, combo. All respect font.color

--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to