码迷,mamicode.com
首页 > Windows程序 > 详细

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

时间:2015-04-09 01:03:53      阅读:295      评论:0      收藏:0      [点我收藏+]

标签:delphi   xe8   

之前做 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"

技术分享

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

标签:delphi   xe8   

原文地址:http://blog.csdn.net/lsuper/article/details/44949275

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!