Form Size Cannot Be Larger than Current Screen Size

ID: Q90045


The information in this article applies to:
  • Microsoft Visual Basic Standard and Professional Editions for MS-DOS, version 1.0


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 :
Version : MS-DOS:1.0
Platform : MS-DOS
Issue type :


Last Reviewed: December 10, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.