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
389 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

Too many email signature changes to deal with?

Are you constantly being asked to update your organization's email signatures? Do they take up too much of your time? Wouldn't you love to be able to manage all signatures from one central location, easily design them and deploy them quickly to users. Well, you can!

Question has a verified solution.

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

A Bare Metal Image backup allows for the restore of an entire system to a similar or dissimilar hardware. They are highly useful for migrations and disaster recovery. Bare Metal Image backups support Full and Incremental backups. Differential backup…
Sometimes drives fill up and we don't know why.  If you don't understand the best way to use the tools available, you may end up being stumped as to why your drive says it's not full when you have no space left!  Here's how you can find out...
The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…

895 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now