How I can change the color of a TPanel with the VCL Styles enabled?

前端 未结 3 1746
梦毁少年i
梦毁少年i 2020-12-15 09:37

I need to change the color of a TPanel when the VCL styles are enabled. I tried using and modifying the code listed in the article Changing the color of Edit Controls wi

3条回答
  •  一个人的身影
    2020-12-15 09:49

    In XE5, if you turn off the seClient flag in the StyleElements property, then the Color property works again as expected.

提交回复
热议问题