Forum > LCL

[Fixed] Laz 2.2 ParentColor issue for new labels

(1/2) > >>

Muso:
I have an issue with the default settings of labels:

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

result: the property "ParentColor " is at "False".

The IDE tells me:
"ParentColor determines if the control should use the Color from the Parent control, when enabled. The default value is True."
So that means that the default setting for new labels for ParentColor is not the actual default, or the IDE info is wrong.

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?

dsiders:

--- Quote from: Muso on July 21, 2021, 04:34:10 am ---I have an issue with the default settings of labels:

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

result: the property "ParentColor " is at "False".

The IDE tells me:
"ParentColor determines if the control should use the Color from the Parent control, when enabled. The default value is True."
So that means that the default setting for new labels for ParentColor is not the actual default, or the IDE info is wrong.

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?

--- End quote ---

Noted. Looking into it now...

dsiders:

--- Quote from: Muso on July 21, 2021, 04:34:10 am ---I have an issue with the default settings of labels:

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

result: the property "ParentColor " is at "False".

The IDE tells me:
"ParentColor determines if the control should use the Color from the Parent control, when enabled. The default value is True."
So that means that the default setting for new labels for ParentColor is not the actual default, or the IDE info is wrong.

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?

--- End quote ---

You're seeing the topic description from the ancestor class. There are some properties that get republished with changed default values, like: AutoSize, Color, ParentColor, TabStop, BorderStyle, etc. They are still linked to the inherited topic.

They're being addressed, and will be fixed in trunk soon. They will be in the next release candidate if the changes make merge window.

Thanks for pointing this out.

Muso:

--- Quote from: dsiders on July 21, 2021, 06:35:36 am ---They're being addressed, and will be fixed in trunk soon.

--- End quote ---

many thanks! Please tell me when you made the fix that I could test it.

dsiders:

--- Quote from: Muso on July 21, 2021, 07:30:06 pm ---
--- Quote from: dsiders on July 21, 2021, 06:35:36 am ---They're being addressed, and will be fixed in trunk soon.

--- End quote ---
many thanks! Please tell me when you made the fix that I could test it.

--- End quote ---

Updates posted in r65481. Please try again. If you find any other documentation issues, please post to Miscellaneous > Documentation (Maintaining) or to Mantis if you prefer.

Navigation

[0] Message Index

[#] Next page

Go to full version