Delphi XE8样式不能与TFrames一起使用?如何解决这个问题? [英] Delphi XE8 styles do not work with TFrames? How to fix this?

查看:98
本文介绍了Delphi XE8样式不能与TFrames一起使用?如何解决这个问题?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用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一起使用?如何解决这个问题?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆