Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

enable themes for applications

Tags:

delphi

i have an old application (started in delphi 7 in Win XP), now i'm using delphi 2009 (win Vista). If i start a new project all buttons have a rouded edge, but in my old app all buttons have a "square"-shape look.

is there any setting that i've missed? thanks

like image 787
Remus Rigo Avatar asked Oct 23 '09 12:10

Remus Rigo


People also ask

How do I put themes on my apps?

In the Project pane select Android, go to app > res > values > themes > themes.

What are application themes?

It's the multicolored triangle app on the home screen or in the app drawer. You can download any free custom launcher to customize colors and icons on your Android. Launchers are the apps that allow you to download packs of custom icons and matching wallpaper—this combination of items is called a theme.


1 Answers

Under the Project Options in D2009, there is an "Enable runtime themes" option which is ticked by default for new projects but unticked for pre-existing projects.

Ticking this adds the manifest file to the EXE's resource, which is what makes it use Windows Xp/Vista themes, which is what gives you the rounded buttons.

http://www.stevetrefethen.com/blog/ThemingWindowsApplicationsInDelphi2007.aspx

http://www.stevetrefethen.com/blog/Delphi2007VCLDesignerThemeSupport.aspx

like image 125
J__ Avatar answered Sep 23 '22 09:09

J__