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

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

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

%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:

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"Save the file with the .reg extension.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 那个 “小贱样” 也是可以改的 ~

相关文章:

你感兴趣的文章:

标签云: