原来 Delphi XE8 那个 “小贱样” 也是可以改的 ~

本文探讨了如何解决XE8 IDE中引入的ModernTheme220.bpl导致的界面问题,并提供了官方文档可能存在的错误修正,以及如何自定义IDE外观以使其看起来更接近XE7 IDE的方法。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

之前做 Lite,实在被 XE8 那个浓妆艳抹丑呆了,赶紧分析,原来 IDE 开始玩 Theme 了,引入的 ModernTheme220.bpl 导致的(后来对比,原来 XE7 起开始增加的)?

刚才看 EMB 官方关于 XE8 的更新说明:

http://docwiki.embarcadero.com/RADStudio/XE8/en/What%27s_New_in_Delphi_and_C%2B%2BBuilder_XE8

看到这个,原来人家官方就支持自定义的?

Visual Changes and Customization

The appearance of the IDE has changed for XE8. See System Registry Keys for IDE Visual Settings for information on how you can customize the appearance of the IDE.To revert some of the changes and make the XE8 IDE look more like XE7 IDE, follow these steps:

  1. Create a new text document (you can use any text editor) and copy the following text into it:
    Windows Registry Editor Version 5.00
    
    [HKEY_CURRENT_USER\Software\Embarcadero\BDS\XE8\ModernTheme]
    "FontName"="MS Sans Serif"
    "FontSize"=dword:00000008
    "MainToolBarColor"="clBtnFace"
    
  2. Save the file with the .reg extension.
  3. Execute the file. You will see a warning about changing the registry. You must accept in order to apply the changes.
    Note: You may need Administrator permissions to be able to execute registry script files. If the IDE was open when you set or changed registry values, you must restart the IDE for the values to take effect.

不过一番尝试,官方文档应该是手误或者 wiki 文档时 XE8 未正常发布?官方文档写错了,应该是 HKEY_CURRENT_USER\Software\Embarcadero\BDS\16.0\ModernTheme 而不是 HKEY_CURRENT_USER\Software\Embarcadero\BDS\XE8\ModernTheme


譬如这个:


Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Embarcadero\BDS\16.0\ModernTheme]
"FontName"="宋体"
"FontSize"=dword:00000009
"MainToolBarColor"="clBtnFace"


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值