Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to base on resolution to resize control or fonts?
Message
From
28/11/2011 03:56:57
 
 
To
All
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Title:
How to base on resolution to resize control or fonts?
Environment versions
Environment:
VB 9.0
OS:
Windows XP
Database:
MS SQL Server
Application:
Desktop
Miscellaneous
Thread ID:
01529906
Message ID:
01529906
Views:
80
Hi all,
i use vb.net . I write a program run is ok in my computer resolution (1920 x 1080) but the label words can not perfect display in other
computer (resolution 1440 x 900).
Due to samller resolution then the label words size will also compare samll in same font size (PMingLiU, 12pt ).
So i think base on different resolution to change the font size, form size and control size, if 1024 x768 , then i will change the label size
to big?
Anyone know base on different resolution to resize all of control ratio?
Thank you ~~~




Dim boundWidth As Integer = Screen.PrimaryScreen.Bounds.Width
Dim boundHeight As Integer = Screen.PrimaryScreen.Bounds.Height

case (1024x768)
...............
case (1440x900)
.............
case (1920x1080)
...............

Reply
Map
View

Click here to load this message in the networking platform