Darn, I was hoping that would help, but it didn't. My laptop's
resolution is 1400x1050. It does an extended desktop onto my
second (20.1") monitor that is 1680x1050. It displays the same
way on both monitors.
Here's a weird thing: it doesn't do it on applications that *I* develop.
Here's a weirder thing: I created a new form, set the size to the
same as his. Then I copied all of his controls onto my new form,
then copied all of the code-behind that he had written into my new
form, and made sure all of the [size] and [location] information for
the form and controls matched. Then I changed the other code to call
my form instead of his, and it looks fine.
I compared the Designer.vb files, and the size of all the controls
is different (even though I copied his and pasted them into mine).
And as for the form settings, the AutoScaleDimensions and ClientSize
are different. All of the sizes in the properties and controls for
both forms is the same; it's only different in the generated code.
After mucking around with it, I found if I move a control on the
screen, or change anything on the screen (even if I change it back)
and then save the form, it regenerates the Designer.vb file and
the AutoScaleDimensions goes from (6.0!, 13.0!) to (8.0!, 16.0!).
And the client size changes (634, 455) to (845, 560).
Note that none of the properties displayed for the form in
design mode have changed.
(insert Twilight Zone music here)
Is there some way to regenerate the designer.vb files other than
changing each form (there are a lot of them)? (Rebuilding the
solution doesn't do it, in case you're wondering).
Does this mean if I want to deploy an application on a computer
with a higher resolution than mine, I will have to handle the
sizing in the code?
Can I now justify buying a 30" monitor? Or should I just hook
my laptop up to my 42" plasma monitor/tv? Wow. Just think of the
real estate. Hmmmm.
Robin S.
---------------------------
> Maybe you should have asked Santa for a nice brand spanking new
> monitor :)
[quoted text clipped - 38 lines]
>> Thanks in advance,
>> Robin S.
Stephany Young - 30 Dec 2006 01:46 GMT
Damn ... Lucian got in before I did ...
Yes, it will be ye olde 'Large Fonts'. Note that 560 pixels wide is
approximately 125% of 455 pixels wide and also that 120 dpi is 125% of 96
dpi.
Have a look at the AutoScaleMode property of the form and have a read up on
that property in the documentation.
> Darn, I was hoping that would help, but it didn't. My laptop's
> resolution is 1400x1050. It does an extended desktop onto my
[quoted text clipped - 84 lines]
>>> Thanks in advance,
>>> Robin S.
RobinS - 30 Dec 2006 08:12 GMT
Those damn fonts, they get you every time. I will
look up the AutoScaleMode. Thanks for the pointer!
Robin S.
-------------------------------
> Damn ... Lucian got in before I did ...
>
[quoted text clipped - 94 lines]
>>>> Thanks in advance,
>>>> Robin S.
Bruce W. Darby - 30 Dec 2006 07:21 GMT
> Can I now justify buying a 30" monitor? Or should I just hook
> my laptop up to my 42" plasma monitor/tv? Wow. Just think of the
> real estate. Hmmmm.
>
> Robin S.
Hook your laptop up to your TV and send me the 20" monitor????? :) DOH!!!
RobinS - 30 Dec 2006 08:14 GMT
>> Can I now justify buying a 30" monitor? Or should I just hook
>> my laptop up to my 42" plasma monitor/tv? Wow. Just think of the
[quoted text clipped - 4 lines]
> Hook your laptop up to your TV and send me the 20" monitor????? :)
> DOH!!!
That sounds like a great idea! You have to pay the shipping, though,
which will be $250. Paypal or cashier's check?
LOL,
Robin S.
Bruce W. Darby - 30 Dec 2006 08:34 GMT
> That sounds like a great idea! You have to pay the shipping, though,
> which will be $250. Paypal or cashier's check?
>
> LOL,
> Robin S.
Only $250.00??? A steal at any price.... uh.... checks in the mail????
hehehehe
RobinS - 30 Dec 2006 16:41 GMT
>> That sounds like a great idea! You have to pay the shipping, though,
>> which will be $250. Paypal or cashier's check?
[quoted text clipped - 4 lines]
> Only $250.00??? A steal at any price.... uh.... checks in the mail????
> hehehehe
If you live in the USA, you, too, can shop at Costco!
I'll ship it as soon as the check clears. LOL.
(Then I can buy a 24" one!)
Robin S.