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
390 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 26

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 26

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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
In this article, I will show you HOW TO: Perform a Physical to Virtual (P2V) Conversion the easy way from a computer backup (image).
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …
Windows 8 came with a dramatically different user interface known as Metro. Notably missing from that interface was a Start button and Start Menu. Microsoft responded to negative user feedback of the Metro interface, bringing back the Start button a…

770 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