Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Delphi Forms ,developed on Windows XP have one shape/look, but now those made on the 7 and 8, are different

Posted on 2013-12-01
5
Medium Priority
?
398 Views
Last Modified: 2013-12-07
Hi!
I have a system with 80 routines/Forms.
Almost all, were developed using Delphi 2010 + XP Windows.
These have a visual. Example: rounded corner edges.
But now, new routines, that I develop using Delphi 201 + Windows 7/8.
Are with a different look.
Example: The corners are not rounded, and and  the forms, presents a different blue.
I've tried.
Put in Uses XPman. (in the main form)
But not solve.
There is how  the news forms, become like those made on windows xp ?
Or, all become the new standard?(new look of windows 7/8)
Important:
I need a solution.
Without must change, mys 80 forms/routines  that are ready.
Will be possible ?

Thanks !

Attention: Forms only show the difference after compiled, not in design time.
0
Comment
Question by:adrex
  • 3
  • 2
5 Comments
 
LVL 28

Expert Comment

by:Sinisa Vuk
ID: 39688705
Hint from About.com is more like this component XPMan, but try it. How looks you app if you set compatibility mode (XP sp3)?
0
 

Author Comment

by:adrex
ID: 39688920
I had already read, that the unit XPMan has the same effect of  XML manifest.
And a colleague tried that and it did not work.

The difference between the Forms, are only two:

1-The corners are rounded, and now not.

2-And the color, forms now, have a more intense blue, on the frames, the four edges, top, bottom and both sides.

I am not prefer, like before or like after, only need, that be all iguals.
Thanks.
0
 
LVL 28

Expert Comment

by:Sinisa Vuk
ID: 39689276
Some elements of form/controls in delphi are under windows control (painting borders, etc.). You will never get same look under all versions. Main example is TButton component. Form skinning should help for task like this: http://www.alphaskins.com/
http://delphi.about.com/od/toppicks/tp/delphi_skin.htm

Additionally you can try to set manifest like here:
http://www.mytechguide.com/137/how-to-force-old-applications-to-have-windows-xp-look/
http://msdn.microsoft.com/en-us/library/windows/desktop/bb773175%28v=vs.85%29.aspx
0
 

Accepted Solution

by:
adrex earned 0 total points
ID: 39691355
I got a solution.
Put in Properties.
Form Style, all types less, fsNormal
and
BordesStyles=bsSizeable
Thanks
0
 

Author Closing Comment

by:adrex
ID: 39702901
Why make this configuration at forms.
Solve de problem.
Was that I discovered.
By my self.
But Thanks  everybody
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Know the reasons and solutions to move/import EDB to New Exchange Server. Also, find out how to recover an Exchange .edb file and to restore the file back.
IF you are either unfamiliar with rootkits, or want to know more about them, read on ....
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…

886 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question