So setting TFlowPanel.Color changes the background colour of all contained controls, but not of the TFlowPanel itself.? How do I change the TFlowPanel's own colour?
Mailing lists / lazarus / 2025-04
TFlowPanel.Color
5 messages · 3 people · –
- TTimothy Groves 2
- WWerner Pamler 2
- JJohn Landmesser 1
Reply by email Subscribe to this list Your subscription
Read-only archive. Use j and k to move between messages.
Timothy Groves wroteSo setting TFlowPanel.Color changes the background colour of all contained controls, but not of the TFlowPanel itself.? How do I change the TFlowPanel's own colour?
I cannot confirm this (Windows 11, Laz/main). When I set the Color of a TFlowPanel to red its background color does become red, and child controls with ParentColor=true as well. What is your OS/widgetset, Lazarus version?
Debian 12.10, Lazarus 3.4, gtk2.
Werner Pamler wrote 8 lines
Am 27.04.2025 um 14:07 schrieb Timothy Groves via lazarus:
> So setting TFlowPanel.Color changes the background colour of all
> contained controls, but not of the TFlowPanel itself.? How do I
> change the TFlowPanel's own colour?
I cannot confirm this (Windows 11, Laz/main). When I set the Color of
a TFlowPanel to red its background color does become red, and child
controls with ParentColor=true as well. What is your OS/widgetset,
Lazarus version?
Timothy Groves wroteDebian 12.10, Lazarus 3.4, gtk2.
I have a VM with Debian 12 and Laz 2.2.6 and Laz/main (gtk2). No problem with the FlowPanel Color in none of them either.
Debian 12.10, Lazarus 3.4, gtk2. https://policies.google.com/privacy…
Timothy Groves wrote 13 lines
Debian 12.10, Lazarus 3.4, gtk2.
On 2025-04-27 17:48, Werner Pamler via lazarus wrote:
> Am 27.04.2025 um 14:07 schrieb Timothy Groves via lazarus:
>> So setting TFlowPanel.Color changes the background colour of all
>> contained controls, but not of the TFlowPanel itself.? How do I
>> change the TFlowPanel's own colour?
> I cannot confirm this (Windows 11, Laz/main). When I set the Color of
> a TFlowPanel to red its background color does become red, and child
> controls with ParentColor=true as well. What is your OS/widgetset,
> Lazarus version?
Check this settings !!
"child controls with ParentColor=true as well"
