避免在 Delphi XE2 下对元素进行蒙皮

发布于 2025-01-02 15:38:17 字数 154 浏览 5 评论 0原文

Delphi XE2 皮肤选项非常棒,但在某些情况下您希望通知 Delphi 单独保留元素或表单。就我而言,我有一个完全在 Delphi 内部创建的启动窗体 - 但这被破坏了,因为皮肤隐式覆盖了所有颜色。

有什么方法可以通知 Delphi 或皮肤引擎它应该单独保留控件或表单吗?

The Delphi XE2 skinning option is fantastic, but there are cases where you want to inform Delphi to leave an element or form alone. In my case I have a splash form that was created completely inside Delphi - and this is ruined because the skin overrides all colors implicitly.

Is there some way I can inform Delphi or the skinning-engine that it should leave a control or form alone?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

彩扇题诗 2025-01-09 15:38:17

我会尝试使用这样的东西(未经测试)

TStyleManager.Engine.RegisterStyleHook(TYourSplashForm, TStyleHook);

I would try to use something like this (was not tested)

TStyleManager.Engine.RegisterStyleHook(TYourSplashForm, TStyleHook);
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文