Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / March 2006

Tip: Looking for answers? Try searching our database.

large font size causes bottom of forms to be chopped off...

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Arrow - 07 Feb 2006 15:54 GMT
(Framework v2 / VS2005, C#)
a user is running an app (which works fine on "normal" PCs)
....he's running it on a laptop with a large font size...what
is happening is my forms (most are fixed dialog types) looks
like it's being chopped off at the bottom...the top 3/4 looks
fine but my "OK", "Cancel" buttons and status bar are chopped
off (can partially see the buttons) ...this surprised me as i thought
Windows would take care of all scaling

...any ideas so it shows up properly for all font sizes ?

..thanks
Arrow - 07 Feb 2006 16:19 GMT
looks like i have to do something like this?:
http://www.dotnet247.com/247reference/msgs/58/292722.aspx

> (Framework v2 / VS2005, C#)
> a user is running an app (which works fine on "normal" PCs)
[quoted text clipped - 8 lines]
>
> ..thanks
Arrow - 08 Feb 2006 01:37 GMT
ugh...i just realize this is imprper for .Net 2.0 as
GetAutoScaleSize is obsolete ...looks like AutoScaleMode
should now be used.... any examples to autoscale a form
with the new calls ? thanks

> looks like i have to do something like this?:
> http://www.dotnet247.com/247reference/msgs/58/292722.aspx
[quoted text clipped - 11 lines]
>>
>> ..thanks
Jan - 02 Mar 2006 09:28 GMT
I have the same problem but I don't think that the AutoScaleMode helps us.

>> Windows Forms in .Net 2.0 are designed to automatically scale under one of two events: the Font assigned to the form changes, or the screen resolution changes.  There is an AutoScaleMode property on a Form... <<

For me, it doesn't work when I set AutoScaleMode to "none". The font size is
still large when the system font size is large.

Does anybody how to ignore the system font size?

> ugh...i just realize this is imprper for .Net 2.0 as
> GetAutoScaleSize is obsolete ...looks like AutoScaleMode
> should now be used.... any examples to autoscale a form
> with the new calls ? thanks

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.