问题描述
我使用TFrames
.我通过将它们添加到表单"窗口中来动态制作它们.我选择了称为发光"的样式(其他样式也是如此).我启动了该程序,该样式仅在主窗体"窗口上有效,而在控件TFrame
上则无效.为什么?
I use TFrames
. I make them dynamically by adding them to the Form window. I chose the style called "Glow" (others also). I launched the program and the style works only on the main Form window, they do not work on the controls TFrame
. Why?
我尝试添加:TStyleManager.SetStyle
用于框架表单",但没有效果.
I tried to add: TStyleManager.SetStyle
for the Frame Form but with no effect.
推荐答案
我已修复此错误.如果您将手动更改Frame Form Color
属性,则会产生错误.您必须选择Frame
并转到properties
并打开ParentBackgroud
字段(选择true),也可以打开ParentColor
.现在Styles
必须正常工作.
I have fixed this bug. If you will change Frame Form Color
property manually, it will make a bug. You must select your Frame
and go to properties
and turn on the ParentBackgroud
field (choose true) and you can also turn on the ParentColor
too. Now Styles
must work.
这篇关于Delphi XE8样式不能与TFrames一起使用?如何解决这个问题?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!