all groups > vb.net controls > october 2005 >
You're in the

vb.net controls

group:

Large Fonts problem


Large Fonts problem sonali_reddy123 NO[at]SPAM yahoo.com
10/3/2005 4:28:25 AM
vb.net controls: Hi,

I have a problem regarding the Large fonts use for the apppliaction.
I have a VB.NET application whose UI I have designed with settings of
my computer having Small Fonts.

But as I have changed the settings my controls in the form got
disturbed.Some of them were not visible even though they were present.
Also the text for some of the command buttons was not properly getting
displayed.

How Am I able to solve this problem

Any Ideas are invitable.
Re: Large Fonts problem Ken Halter
10/4/2005 12:47:10 PM
[quoted text, click to view]

Since I just started tinkering with dotnet, I can only give reasons that
effect my apps.... Large Fonts change the screen's entire coordinate system.
In VB6, you can detect them easily enough by checking how many twips were in
a pixel. Ther *must* be something similar in dotnet.

If Screen.TwipsPerPixelX = 15 Then
Running Small Fonts

ElseIf Screen.TwipsPerPixelX = 12
Running Large Fonts

Else
Running Custom Fonts

End If

(why) Large Font Drivers Suck
http://www.divsoft.com/lfs/

--
Ken Halter - MS-MVP-VB (Classic) - http://www.vbsight.com
DLL Hell problems? Try ComGuard - http://www.vbsight.com/ComGuard.htm
Please keep all discussions in the groups..

AddThis Social Bookmark Button