Home All Groups Group Topic Archive Search About

Runtime Look Is Different Than Design Look

Author
29 Nov 2006 12:04 AM
Michael Cook
Some of my controls look different when running vs. when in design mode. For
example, a button looks rounded and has a nice shinny look when I am looking
at it in the design mode, however when I run it through the IDE it looks like
a standard VB6 button. The same with my tabs. Any ideas?

Author
29 Nov 2006 8:07 AM
Herfried K. Wagner [MVP]
"Michael Cook" <MichaelC***@discussions.microsoft.com> schrieb:
> Some of my controls look different when running vs. when in design mode.
> For
> example, a button looks rounded and has a nice shinny look when I am
> looking
> at it in the design mode, however when I run it through the IDE it looks
> like
> a standard VB6 button. The same with my tabs. Any ideas?

Which version of VS are you using?  If you are using VS 2005, did you enable
visual styles in the project's application framework settings?  Are visual
styles enabled in Windows?

--
M S   Herfried K. Wagner
M V P  <URL:http://dotnet.mvps.org/>
V B   <URL:http://dotnet.mvps.org/dotnet/faqs/>
Author
29 Nov 2006 10:54 PM
Michael Cook
I was not aware of that setting. I've done that and enabled the control
property and it looks good. Thanks!

Show quoteHide quote
"Herfried K. Wagner [MVP]" wrote:

> "Michael Cook" <MichaelC***@discussions.microsoft.com> schrieb:
> > Some of my controls look different when running vs. when in design mode.
> > For
> > example, a button looks rounded and has a nice shinny look when I am
> > looking
> > at it in the design mode, however when I run it through the IDE it looks
> > like
> > a standard VB6 button. The same with my tabs. Any ideas?
>
> Which version of VS are you using?  If you are using VS 2005, did you enable
> visual styles in the project's application framework settings?  Are visual
> styles enabled in Windows?
>
> --
>  M S   Herfried K. Wagner
> M V P  <URL:http://dotnet.mvps.org/>
>  V B   <URL:http://dotnet.mvps.org/dotnet/faqs/>
>
>