Delphi forms theme

Add-in Express™ Support Service
That's what is more important than anything else

Delphi forms theme
How do I fix the problem with Delphi form theme 
John Taylor




Posts: 10
Joined: 2012-08-20
I have exhausted everything I can find on the internet and still cannot figure out how to get my look and feel of Delphi Tform's back. They all have the outdated windows 2000 look. I have seen the discussions here as well.

Is there a solution to this problem ? I am using XE2 on Windows 7

Any help greatly appreciated

John
Posted 20 Feb, 2013 02:30:11 Top
Andrei Smolin


Add-in Express team


Posts: 18829
Joined: 2006-05-11
Hello John,

The fastest way is to use third-party components. Or, you may prefer to draw it yourself, see http://msdn.microsoft.com/en-us/library/ms997507.aspx.


Andrei Smolin
Add-in Express Team Leader
Posted 20 Feb, 2013 04:33:09 Top
John Taylor




Posts: 10
Joined: 2012-08-20
Andrei,

The closest thing I found that looked like a good solution was here:
http://stackoverflow.com/questions/5132679/apply-windows-theme-to-office-com-add-in

I tried it many ways putting it in the form unit, the addin module initialization, but nothing seemed to make any difference.

I also looked for a third party component for this fub could not find one :-(

John
Posted 20 Feb, 2013 08:50:27 Top
Dmitry Kostochko


Add-in Express team


Posts: 2875
Joined: 2004-04-05
Hi John,

We already tried to use the ActivateActCtx function a long time ago, I have just tested the code you pointed out and the results are the same - this approach does not work for some reason. I think the root of the issue lies deeply in the VCL code and only Embarcadero can solve such problems.
Posted 21 Feb, 2013 07:05:50 Top