I create a bunch of panels at runtime and I want to change their color. The color property does not work, and I do not want to change the runtime themes ...
Any ideas?
I am using Delphi XE3.
Thanks for any help!
Remove seClient from StyleElements and set ParentBackground to false.
aPanel.StyleElements := Panel1.StyleElements - [seClient]; aPanel.ParentBackground := False; aPanel.Color := clLime;
Source: https://habr.com/ru/post/1484843/More articles:Loop iteration - check, not - ruby โโ| fooobar.comWPF ListView VerticalScrollBar Not Displaying - wpfReturn HTML / XHTML file from servlet - javaAbbreviation for creating a new instance if null? - c #DelayTime or UnclampedDelayTime for GIFS - iosProgrammatically check the IIS7 splash screen - httpUsing mysql between a sentence with dates - mysqlHow to create custom text animation (glyph) by Qt - qtHow to validate a url - c #shutdown () wakes select (), but errno remains 0, no EBADF - linuxAll Articles