Results 1 to 6 of 6

Thread: is there a maximum width in .net? [RESOLVED]

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Nov 2003
    Posts
    1,489

    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.

  2. #2
    Your Ad Here! Edneeis's Avatar
    Join Date
    Feb 2000
    Location
    Moreno Valley, CA (SoCal)
    Posts
    7,339
    I don't know if there is a max but I believe its measuring in pixels.

  3. #3
    Frenzied Member
    Join Date
    Aug 2000
    Posts
    1,539

    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)

  4. #4
    PowerPoster
    Join Date
    Dec 2003
    Location
    Bristol, England (but heart is in Virginia)
    Posts
    2,949
    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.

  5. #5
    PowerPoster
    Join Date
    Dec 2003
    Location
    Bristol, England (but heart is in Virginia)
    Posts
    2,949
    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.

  6. #6

    Thread Starter
    Frenzied Member
    Join Date
    Nov 2003
    Posts
    1,489

    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
  •  



Click Here to Expand Forum to Full Width