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
In the Project pane select Android, go to app > res > values > themes > 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.
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With