Article View: borland.public.delphi.winforms.controls.using
Article #212Re: WinForm XP Style
From: Horst Reichert
Date: Tue, 11 Jul 2006 06:58
Date: Tue, 11 Jul 2006 06:58
15 lines
1159 bytes
1159 bytes
Add Application.EnableVisualStyles to your project source main thread as e.g. [STAThread] begin Application.EnableVisualStyles; Application.Run(TWinForm10.Create); end. On older versions of .net you might need to add a Application.DoEvents as well Regards Horst
Technical Details
Message-ID:
<44b34c1c$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news3.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<44b21244@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 1eff29,3a0d041e73d90c89 X-Google-Attributes: gid1eff29,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Horst Reichert" <horst.reichert@rt-science.de> Newsgroups: borland.public.delphi.winforms.controls.using References: <44b21244@newsgroups.borland.com> Subject: Re: WinForm XP Style Date: Tue, 11 Jul 2006 08:58:36 +0200 Lines: 17 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2869 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869 X-RFC2646: Format=Flowed; Response NNTP-Posting-Host: 84.178.109.187 Message-ID: <44b34c1c$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1152601116 84.178.109.187 (10 Jul 2006 23:58:36 -0700) Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news3.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail