PC Review


Reply
Thread Tools Rate Thread

different button size on different computer

 
 
Thinh Dang
Guest
Posts: n/a
 
      27th Aug 2003
I have problem with VS2003
VB.NET Project

On my computer, I set the button size to 75, 37 and save the project
When I open on my friend computer, the button show up to be 90,43

What's wrong?

Microsoft Dev. Env. 2003 - Version 7.1.3088
Microsoft .NET Framework 1.1 version 1.1.4322



 
Reply With Quote
 
 
 
 
Jay B. Harlow [MVP - Outlook]
Guest
Posts: n/a
 
      27th Aug 2003
Thinh,
Was the button itself the same size relative to the form?

Do yours & his monitors have the same resolution & DPI size?

Windows Forms have an AutoScale ability that the designer stores the
AutoScaleBaseSize used when designing the form, then when it runs it sets
the form property so the controls turn out to be the same relative size on
the new computer.

Charles Petzold's book "Programming Microsoft Windows with Microsoft Visual
Basic.NET has a good explanation of how this works.

Hope this helps
Jay

"Thinh Dang" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> I have problem with VS2003
> VB.NET Project
>
> On my computer, I set the button size to 75, 37 and save the project
> When I open on my friend computer, the button show up to be 90,43
>
> What's wrong?
>
> Microsoft Dev. Env. 2003 - Version 7.1.3088
> Microsoft .NET Framework 1.1 version 1.1.4322
>
>
>



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Cancel button greyed out on Unlock Computer / Computer Locked not Jeff Windows XP General 1 18th Jul 2008 11:32 PM
Reduction of taskbar icon size forces title bar, caption button size reduction vincemoon@rcn.com Windows XP General 3 11th Jan 2005 08:01 AM
Reduction of taskbar icon size forces title bar, caption button size reduction vincemoon@rcn.com Windows XP Help 3 11th Jan 2005 08:01 AM
Reduction of taskbar icon size forces title bar, caption button size reduction vincemoon@rcn.com Windows XP New Users 3 11th Jan 2005 08:01 AM
IE changes the font size back to previous size when a link or button is clicked. Michael Kuntscher Windows XP Internet Explorer 1 29th May 2004 01:54 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:01 PM.