RAD Studio (Common)
ContentsIndex
PreviousUpNext
Disabling Themes in the IDE and in Your Application

Both Windows Vista and Windows XP support themes in the user interface. By default, the IDE uses themes, and runtime themes are enabled for the application itself. If you prefer or if you require the classic user interface style, you can disable the use of themes in the IDE and in your application.

To disable themes for the IDE

  1. Close the IDE.
  2. Open the file bds.exe.manifest located in your $(IDE)\bin directory.
  3. Remove or comment out the following entry in the XML file bds.exe.manifest:

 <dependency> 
  <dependentAssembly>   
    <assemblyIdentity  
      type="win32"  
      name="Microsoft.Windows.Common-Controls" 
      version="6.0.0.0" 
      publicKeyToken="6595b64144ccf1df" 
      language="*"    
      processorArchitecture="*"   />   
  </dependentAssembly>  
</dependency>

  1. Save the changes to the bds.exe.manifest file.
  2. Restart the IDE.

To disable theming for an application

  1. Choose ProjectOptionsApplication.
  2. Uncheck Enable runtime themes.

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!