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
392 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 27

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 27

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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Learn how to PXE Boot both BIOS & UEFI machines with DHCP Policies and Custom Vendor Classes
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…
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…

713 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