Form - controls is placed different on Vista than in XP

  • Thread starter Thread starter Kenneth
  • Start date Start date
K

Kenneth

Hi

Have made simple form which consists of two controls besides of each
other. It looks fine for me on my XP machine but when I run the app on
a Vista machine the controls is not besides anymore but one of the
controls is a little bit on top of the other! Why does this happen?

Kenneth
 
Kenneth said:
Have made simple form which consists of two controls besides of each
other. It looks fine for me on my XP machine but when I run the app on
a Vista machine the controls is not besides anymore but one of the
controls is a little bit on top of the other! Why does this happen?

I suggest to describe the problem im more detail: Which controls are you
referring to (control type, anchoring, docking, ...)? Are visual styles
enabled on the Windows XP machine? Are the controls positioned at design
time or at runtime
 
It is actually very simple. Create a new project -> a new form ->
place a text box (multiline) besides a MonthCalendar control. Nothing
else is changed.
I start the application on my XP mashine and it looks as I placed them
in my design.
When I run the same application on a Vista maschine the monthCalendar
control is placed a little bit more to the right a little bit above
the textbox.

Visual styles on the XP mashine? What is this? The difference between
windows runnning XP or 2000 layout?

Kenneth
 
Kenneth said:
Visual styles on the XP mashine? What is this? The difference between
windows runnning XP or 2000 layout?

Yes, exactly.

Unfortuntately I do not have Windows Vista installed yet, so I am not able
to repro the scenario.
 
Back
Top