Enable runtime themes

How do I make sure that the 'enable runtime themes' option in Delphi 2007 project options is enabled in FB so I can ensure it picks up as I can't spot it?

Thanks

Jeremy

Hi Jeremy

Unfortunately CodeGear decided to store what is effectively a project setting in the project.res file. When we update the version info we rebuild that res file, losing the manifest.

The best option for now (until we work something out with this) would be to create your own manifest file and compile that to a res file using the resource compiler action and then include that in your project with {$R manfest.res }.

We hope to have a better solution to this soon.

Vincent

Thanks for the reply, at least I wasn't missing something. Do you have any timescales for this at all? If not, perhaps you could point me in the direction of somewhere that might explain what a manifest file is and if I could just use the CodeGear one, if that is what happens.

Just looking at upgrading from FB3 and so just 'playing' at the moment, getting stuff migrated to Delphi 2007, and FB5 so an actual build with this isn't imminent but if you said perhaps a few months before FB can do it, then I'd have to look at the other way.

Jeremy

Hi Jeremy

I will try to schedule some time for this next week, it shouldn’t be too difficult to implement.

Vincent

That would be great, thanks. Everything else has gone smoothly, so I'll get an upgrade order sorted this week also.

Regards

Jeremy

Hi Vincent,

Any news on this?

Regards...Andrew

 

Hi Andrew

Yes, we have added support for manually specifying a manifest file which will be used when compiling the resource file :

https://www.finalbuilder.com/downloads/finalbuilder/550/FB550_431.exe

See the resource compiler property page of the delphi action's properties dialog. Also, if you load the settings from a project that has been built with delphi (and so has the themes working fine)  using the "Load settings from project file" button, it will extract the manifest file from the original delphi generated resource file.

Note that the above build is a test build, whilst we believe it is stable it has not has the same amount of testing as a release build. We hope to have an official release build with the manfiest file support included in the next week or so.

Hi Vincent,

Thanks, it seems to work fine. I wonder if a reference to the 'Enable runtime themes' option shouldn't be mentioned somewhere in the action?

Regards...Andrew