Lazarus

Programming => LCL => Topic started by: Muso on July 21, 2021, 04:30:31 am

Title: [invalid] Laz 2.2 Color issue for new group boxes
Post by: Muso on July 21, 2021, 04:30:31 am
I have an issue with the default settings of group boxes:

- add a new group box (or radio/check group) to a form

result: the property "Color" is at "clWindow". The IDE tells me that "clDefault" would be the default. So it appears as oif new group boxes are created with a non-default Color. Or the IDE is telling the wrong default.

I am using Lazarus 2.3.0 r65474 FPC 3.2.2 x86_64-win64-win32/win64 but that means the issue is also in Laz 2.2.

should I open a bug report?
Title: Re: Laz 2.2 Color issue for new group boxes
Post by: lucamar on July 21, 2021, 05:56:06 am
In case it matters, Lazarus 2.0.12 on Linux x86_64 sets the group box Color to clDefault.

Maybe it has been changed to resolve clDefault at design-time?
Title: Re: Laz 2.2 Color issue for new group boxes
Post by: wp on July 21, 2021, 10:38:06 am
- add a new group box (or radio/check group) to a form

result: the property "Color" is at "clWindow".
Cannot confirm: I add a TGroupBox to a new form, go to its Color property, and its value is clDefault.
Title: Re: Laz 2.2 Color issue for new group boxes
Post by: Muso on July 21, 2021, 01:37:09 pm
Cannot confirm: I add a TGroupBox to a new form, go to its Color property, and its value is clDefault.

Yes, this was false alarm. I set this color in my main form and therefore the color was inherited to its childs.
TinyPortal © 2005-2018