Microsoft KB Archive/90045

= Form Size Cannot Be Larger than Current Screen Size =

PSS ID Number: 90045

Article Last Modified on 1/8/2003

-

The information in this article applies to:


 * Microsoft Visual Basic for MS-DOS 1.0

-



This article was previously published under Q90045



SUMMARY
The size of a form in Microsoft Visual Basic for MS-DOS cannot exceed the screen size. That is, the Width and Height properties cannot be set to a value that would result in a form that cannot be displayed on the current screen. This behavior is by design.



MORE INFORMATION
This does not mean that you cannot position the form with the Left or Top property such that the bottom or right of the form goes off the screen. This means that the form as a whole must be capable of fitting on the screen if the Left and Top properties are set to 0.

If you set the Width or Top property to a value that is too large, FD.EXE (the Forms Designer) will automatically reset the value to the largest possible for that screen resolution.

This limitation applies even if you start the VBDOS.EXE environment with the /h (hi resolution mode) option; however, larger values for Width and Height will be accepted with respect to that resolution.

Additional query words: VBmsdos 1.00

Keywords: KB90045

Technology: kbAudDeveloper kbVB100DOS kbVBSearch kbZNotKeyword3

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© 2004 Microsoft Corporation. All rights reserved.