object properties changing on different machines

  • Thread starter Thread starter Justin Carter
  • Start date Start date
J

Justin Carter

Hi. I have what I think is a strange thing happening when I copy code
from one machine to another. I'm developing on a Win2000 desktop (17"
monitor at 1280x1024 resolution). I'm putting the code on an XP
laptop (15.4" monitor at 1280x1024) for someone else to use. When I
look at the code for a form object on the laptop, the *code* says the
client size is 1280x1024 and a particular label is 150x150, both as
they are on the desktop and as they should be. However, when I look
at the designer view, the properties window has the objects as
1066x887 and 125x130, and that's how they show up at runtime, which
screws things up. The code never actually changes. (Other objects
are incorrect too, but those are the two most obvious.) The only
differences (that I can think of) are the OS's and the monitor sizes.
Any thoughts would be greatly appreciated, thanks.
Justin
 
I'm hoping no one posted a reply because it was just too hard a
problem, not too easy such that anyone should know. Anyway, in case
anyone's curious, someone gave me a suggestion that worked. By right
clicking on the dekstop and going to Properties>Settings tab>Advanced
button, I needed to set the Font Size to Large Fonts. Not sure why
this works, but it did. Now I have huge fonts in the title bars of
windows, but the program works properly, which is what I cared about.
-Justin
 
Back
Top