- This topic has 1 reply, 2 voices, and was last updated 14 years, 8 months ago by Support.
-
AuthorPosts
-
February 28, 2010 at 6:58 am #33579DavidLParticipant
Hi
I have an application that I created some time ago in Delphi 2006 with an older version of AlphaControls. I ported it to Delphi 2009 and AlphaControls 6.56 and all seemed well. I wanted to replicate the general design of this app for a new project, so I copied-pasted the TsSkinManager and TsSkinProvider from the old app to the new, along with a TsListView control.
After doing this, I noticed that the TsListViews in the two applications look different to each other…at both design time and runtime. And yet they should be the exact same component.
* I checked to make sure the same skin was used in each project.
* I checked the properties of all components and the form itself, and they’re all absolutely identical.And yet the visual difference remains:
* The column headings of the TsListView in the new app is higher than the old app.
* The row select bar in the new app displays a small break between each column.Design (old app then new app):
[attachment=3789:OldAppDesigntime.jpg]
[attachment=3791:NewAppDesigntime.jpg]Runtime (old app then new app):
[attachment=3790:OldAppRuntime.jpg]
[attachment=3792:NewAppRuntime.jpg]I've obviously missed something, but I've been over these components a dozen or so times. I've tried the executables on a different PC, and they exhibit the same behaviour as on my development PC.
Has anyone seen anything like this, or can offer any explanation? (I've attached some code samples in case anyone is interested.)
[attachment=3793:OldApp.zip]
[attachment=3794:NewApp.zip]Thanks!
Environment:
– Windows Vista
– Delphi 2009
– AlphaControls 6.56March 5, 2010 at 10:43 am #41807SupportKeymasterHello and thank you for demo-programs. I think, you must set “Enable runtime themes” option in the new project and problem will be solved
AuthorPostsViewing 2 posts - 1 through 2 (of 2 total)- You must be logged in to reply to this topic.