top of page

SoulSpeak Group

公開·85 Our Tribe

Windows 10 IDE Dark,Light VCL Style Theme For Delphi Rio


Download ===== https://blltly.com/2ttmJ1





How to Customize Your Delphi VCL Application with Windows 10 IDE Dark and Light Themes


Delphi VCL is a powerful framework for developing Windows applications with a rich user interface. One of the features that Delphi VCL offers is the ability to apply different themes to your application, such as dark and light themes, according to the Windows mode or your own preference. In this article, we will show you how to check the Windows theme mode, how to set the themes in Delphi from project options, and how to use the new Theme Manager in Delphi 10.2.2 to customize your application's appearance.


How to check whether dark mode is enabled


To check whether dark mode is enabled in Windows 10, you can use the Registry Editor. Press Windows + R and type Regedit in the Run Command window. Navigate to the folder: Computer\HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\Personalize. Check AppsUseLightTheme Keyword and if its value is 1 then the windows apps theme is in Light mode and 0 means itâs in Dark mode[^1^].


How to set the themes in Delphi from project options


In Delphi IDE, go to Project Menu -> Options -> Appearance -> Select the available themes suitable for your application. For example, you can choose Carbon for Dark theme or Windows 10 for Light theme[^2^]. You can also select different themes for different platforms if you are developing a cross-platform application.


How to use the Theme Manager in Delphi 10.2.2


In Delphi 10.2.2, there is a new feature that allows you to quickly toggle the dark and light themes for your IDE and your code editor. You can access it from the Desktop Layout toolbar or from the Tools > Options > Theme Manager dialog[^2^]. You can choose between Light, Dark and Custom modes. The Custom mode lets you select different themes for different elements of your IDE, such as menus, toolbars, dock panels, etc. You can also change the editor color scheme independently from the IDE theme. This way, you can customize your Delphi VCL application with Windows 10 IDE Dark and Light Themes according to your preference or the Windows mode.


How to see some examples of Delphi VCL themes


If you want to see some examples of how different Delphi VCL themes look like, you can use the DevExpress VCL components, which ship with over 40 custom-designed and highly-polished themes for your next Delphi & C++Builder application[^3^]. You can also use the VCL Styles Utils project, which provides a collection of tools and components to enhance the appearance and functionality of the VCL styles. You can find screenshots and demos of various themes on their websites.


How to change the theme at runtime


Sometimes you may want to change the theme of your Delphi VCL application at runtime, depending on some user input or condition. To do that, you can use the TStyleManager class, which provides methods and properties to manage the application style. For example, you can use the TrySetStyle method to apply a specific style by name, or the SetStyle method to apply a style from a resource or a file. You can also use the Style property to get or set the current style object. Here is an example of how to change the theme at runtime using a public procedure:


uses Vcl.Themes;


procedure TData.AllowSKIN ( bSKIN:boolean );


var


sSKIN:string;


begin


sSKIN := 'Aqua Light Slate';


if not bSKIN then


sSKIN := 'Windows';


TStyleManager.TrySetStyle ( sSKIN );


end;


This procedure takes a boolean parameter and sets the style to Aqua Light Slate if it is true, or Windows if it is false. You can call this procedure from anywhere in your code to change the theme dynamically. 9160f4acd4






https://www.innovationcreationstudio.org/group/mysite-231-group/discussion/1478703f-5b27-4403-8ecb-9251a3ab6cc2

https://www.nwwna.org/group/mysite-200-group/discussion/02b74cdc-e6ef-49d8-b8aa-93e25696f8e7

https://www.profeconcha.com/group/plaquetarios/discussion/18fd9655-8aa0-44e0-956e-cfa4219b7854

https://www.uxi.cat/group/0655652367-abortion-pills-for-sale-in-heidelberg/discussion/529bee2f-022f-4429-97bc-b5379d7848f1

https://www.upinoxtrades.com/group/upinox-trades-nigeri-group/discussion/ca5bef21-804f-49fe-819e-cfe16ca4777c

グループについて

Welcome to the group! You can connect with other members, ge...

Our Tribe

  • Tracey-anne McCartney
  • jaderber aterver
    jaderber aterver
  • stas malets
    stas malets
  • stas malets
    stas malets
  • sweetynightclubs
    sweetynightclubs
bottom of page