this should enable XP style buttons. In Delphi 2005 it indeed does, but in
2006 it doesn't. I checked FlatStyle=System, all seems fine, but isn't.
Something changed, but what??
There is a bug n the EnableVisualStyles. It is explained here
http://blogs.msdn.com/rprabhu/archive/2003/09/28/56540.aspx
(Somewhere near the bottom)
--
Marc Rohloff [TeamB]
marc rohloff -at- myrealbox -dot- com
How can I solve this problem? (except reinstalling the system without SP1,
also probably systems with SP1 will not see the XP style).
"Patrick" <patrick...@yahoo.es> escribió en el mensaje
news:45ac...@newsgroups.borland.com...
Your code will only run against the .NET 1.1 runtime.
The solution is outlined fairly simply:
Add Application.DoEvents between Application.EnableVisualStyles and
Application.Run.
I really disagree with Microsoft's policy. If you must have several versions
of .NET installed, they should fix errors in every version.