|
-
May 20th, 2003, 09:38 AM
#1
Thread Starter
Frenzied Member
size matters
is there a way to set a textbox control size below 22?
I want to make all my controls on my form smaller. I work in a 1280x1084 resolution. When I run my app on a 800x600 screen it is HUGE and the app doesn't all fit on the screen. Is there a way to make my all of my app fit on the screen of a 800x600 screen without changing the control sizes? I know in HTML you can use a percentage size of the screen, but dont see that in VB...
It's tough being an unhandled exception...
___________
VB.NET 2008
VB.NET 2010
ORACLE 11g
CRYSTAL 11
-
May 20th, 2003, 09:55 AM
#2
Frenzied Member
If you mean its height yes, you can.
if you see you can not change it, thats because of the font size of your textbox. Either make them smaller or change the AutoSize property to False, so you can freely change the size
P.S: In one of my mailboxes I recevie lots of spams, most of them read: Size Matters. They are all about herbal drugs that make .... bigger
'Heading for the automatic overload'
Marillion, Brave, The Great Escape, 1994
'How will WE stand the FIRE TOMORROW?'
Eloy, Silent Cries and Mighty Echoes, The Vision - Burning, 1979
-
May 20th, 2003, 09:59 AM
#3
Thread Starter
Frenzied Member
It's tough being an unhandled exception...
___________
VB.NET 2008
VB.NET 2010
ORACLE 11g
CRYSTAL 11
-
May 20th, 2003, 10:03 AM
#4
PowerPoster
Just a note, if all the controls won't fit on the screen at 800X600 res, you should proabably look into your user interface design a little more. That is, unless it is an app your not releasing, then who cares.
-
May 20th, 2003, 10:08 AM
#5
Thread Starter
Frenzied Member
well, it is being released..just throughout the company...but, yes I'm redesigning the interface for those blind %^$%^$% who use 800x600
It's tough being an unhandled exception...
___________
VB.NET 2008
VB.NET 2010
ORACLE 11g
CRYSTAL 11
-
May 20th, 2003, 10:13 AM
#6
Fanatic Member
At load time you might adjust the size of the form based on the current resolution, and if you have dock/anchor settings reasonably correct the controls will stay in their relative place. Maybe something like:
VB Code:
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim objScreen As Screen = Screen.PrimaryScreen
Me.Height = objScreen.WorkingArea.Height / 2
Me.Width = objScreen.WorkingArea.Width / 2
End Sub
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|