Discussion:
Old forms retain the old style look - not the new XP style
(too old to reply)
Andy Teal
2007-10-24 14:55:13 UTC
Permalink
When upgrading Delphi 5 forms, Delphi 2007 seems to keep hold of the old
look (win 98)
eg, a TButton can be cut and pasted from old form into a brand new project,
and will appear light grey and rounded, but how do I get it to look like
this in the original form ?
I can't see what the difference is between an old project, and a newly
created one (except for Application.MainFormOnTaskbar := True;)

The old look form is also causing problems with some new components like TMS
TShader

Any tips much appreciated.

Andy
Peter Below (TeamB)
2007-10-24 17:45:02 UTC
Permalink
Post by Andy Teal
When upgrading Delphi 5 forms, Delphi 2007 seems to keep hold of the
old look (win 98) eg, a TButton can be cut and pasted from old form
into a brand new project, and will appear light grey and rounded, but
how do I get it to look like this in the original form ? I can't see
what the difference is between an old project, and a newly created
one (except for Application.MainFormOnTaskbar := True;)
The old look form is also causing problems with some new components
like TMS TShader
Project->Options, Application tab. There is a checkbox there to
activate theme support.
--
Peter Below (TeamB)
Don't be a vampire (http://slash7.com/pages/vampires),
use the newsgroup archives :
http://www.tamaracka.com/search.htm
http://groups.google.com
Andy Teal
2007-10-25 08:10:01 UTC
Permalink
Prefect - thanks very much - that fixed it.

I presume the issues I saw with the shaded TMS components would still be
apparent if someone ran my app on win98 though ?
Post by Peter Below (TeamB)
Post by Andy Teal
When upgrading Delphi 5 forms, Delphi 2007 seems to keep hold of the
old look (win 98) eg, a TButton can be cut and pasted from old form
into a brand new project, and will appear light grey and rounded, but
how do I get it to look like this in the original form ? I can't see
what the difference is between an old project, and a newly created
one (except for Application.MainFormOnTaskbar := True;)
The old look form is also causing problems with some new components
like TMS TShader
Project->Options, Application tab. There is a checkbox there to
activate theme support.
--
Peter Below (TeamB)
Don't be a vampire (http://slash7.com/pages/vampires),
http://www.tamaracka.com/search.htm
http://groups.google.com
Peter Below (TeamB)
2007-10-25 18:27:50 UTC
Permalink
Post by Andy Teal
Prefect - thanks very much - that fixed it.
I presume the issues I saw with the shaded TMS components would still
be apparent if someone ran my app on win98 though ?
No idea, I don't know these components.
--
Peter Below (TeamB)
Don't be a vampire (http://slash7.com/pages/vampires),
use the newsgroup archives :
http://www.tamaracka.com/search.htm
http://groups.google.com
Loading...