|
-
Jan 28th, 2004, 11:30 PM
#1
Thread Starter
Frenzied Member
is there a maximum width in .net? [RESOLVED]
I have a form that I simply can't get to go wider than 1164. Is there a limitation to the max size of forms? AND what is that measuring? pixels or twips?
Last edited by Andy; Feb 11th, 2004 at 09:36 PM.
-
Jan 28th, 2004, 11:55 PM
#2
I don't know if there is a max but I believe its measuring in pixels.
-
Jan 29th, 2004, 12:01 AM
#3
Frenzied Member
Re: is there a maximum width in .net?
Originally posted by thephantom
I have a form that I simply can't get to go wider than 1164. Is there a limitation to the max size of forms? AND what is that measuring? pixels or twips?
i believe the maximum size of the form you can set is based on your screen res.(i could be so wrong on that)
later i checked after typing this
here is what size i get
1292, 1036 (my screen res is set at 1280x1024
i bet you if i boost it up i can make the form bigger)
-
Jan 29th, 2004, 09:20 AM
#4
PowerPoster
Hi,
Size can be measured in twips but pixels is the default measurement.
Taxes
The more I learn about VB.NET the more I like dBaseIII Plus
The foregoing, whilst believed to be correct, is given without guarantee as to it's accuracy and entirely without recourse. You are required to decide for yourself whether or not it is suitable for your purposes and no liability for loss of any nature can be entertained.
-
Jan 29th, 2004, 12:11 PM
#5
PowerPoster
Hi,
If you try to simply reset the size of a form, the properties window will refuse to act on anything much larger than the size of the screen as set in the Windows, Control Panel, Display, Settings, Screen Resolution panel. However, if you first set the Resolution Panel to maximum and then set the form size in the objects window to it's maximum (1932, 1212), then reset the Resolution Panel back to normal, the form will retain it's enlarged size. So the maximum form size appears to be 1932 height, 1212 width, in pixels.
Since submitting the above I thought I had better see what happens when you re-boot the PC.. You guessed right!! The VB.NET form reverted to it's smaller size, i.e. slightly larger than the Screen Resolution. The same result was achieved when simply exiting and re-starting VB.NET without re-booting.
So, if you want to make a form larger than normal, you have to do so laborously each time you start up - Unless someone has code for re sizing the Screen Resolution, then it is not an option for customers to use.
Last edited by taxes; Jan 29th, 2004 at 12:37 PM.
Taxes
The more I learn about VB.NET the more I like dBaseIII Plus
The foregoing, whilst believed to be correct, is given without guarantee as to it's accuracy and entirely without recourse. You are required to decide for yourself whether or not it is suitable for your purposes and no liability for loss of any nature can be entertained.
-
Jan 29th, 2004, 03:14 PM
#6
Thread Starter
Frenzied Member
Re: Re: is there a maximum width in .net?
Originally posted by kovan
i believe the maximum size of the form you can set is based on your screen res.(i could be so wrong on that)
later i checked after typing this
here is what size i get
1292, 1036 (my screen res is set at 1280x1024
i bet you if i boost it up i can make the form bigger)
that's exactly it. I came to work and experimented on my dual monitor setup with 2560 x something and it goes MUCH wider.
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
|