Question Different looking Buttons

donot

New member
Joined
Mar 29, 2010
Messages
3
Programming Experience
Beginner
Can anyone tell me why the buttons in the development and in the runtime look different?

Buttons.jpg
Top is how the button looks like at runtime.
Bottom is how the button looks like at development.

VB 2008
 
It looks as if it is not Enabled, this will not change it's appearance in Designer.
 
The Button works fine, it just looks different between runtime and development. Runtime looks more flat while development looks more round.
 
Do you have VisualStyles enabled in the project's properties?

It's the visual styles that allows the controls to be rendered following the system theme, otherwise it'll be displayed at the old school flat square.

At design time, they will always be rendered following the OS theme it's at runtime that it may or may not be.
 
I just checked and no they weren't enabled. I enabled it and now it looks they way its suppose to look. Thanks
 
Back
Top