Saturday, 22 May 2010

Convert Delphi project to Delphi 2010 look and feel

Delphi 2010 button "look and feel"
How to convert a Delphi 6 project to Delphi 2010
convert old Delphi project to Delphi 2010 "look & feel" to Delphi 2010
buttons in Delphi project still look old
move project from old Delphi version to Delphi 2010

I bought a new Windows 7 machine.  It's a Packard Bell IXTREME X5620 with an Intel Core 2 Quad Q8300 processor.  In general use it is wickedly fast.  I installed Delphi 2010 on the Windows 7 machine and ported all my Delphi 6 projects from my old trusty XP machine to the new one.

I noticed that in the designer the buttons were looking very up to date and Windows 7 ish but when I ran the application the form looked Windows 7 style but the buttons and other controls were clunky old XP/Delphi 6 buttons.  Very grey and stiff with sharp corners that any unsuspecting child could injure themselves on.

So I set about looking for a solution.

Select Project/Options/Application and set the "Enable runtime themes"

This does the trick.  Now everything is looking nice and modern.

2 comments:

  1. Thanks for this info. It did the trick!!

    ReplyDelete
  2. I have spent months trying to resolve issues with my old forms not displaying properly - actually shading out certain info - in D2010 and Windows 7! Thanks - best piece of info I found for a long time.

    ReplyDelete