Form Cannot Be Larger Than the Screen

Last reviewed: June 21, 1995
Article ID: Q94665
The information in this article applies to:

- Microsoft Visual Basic programming system for Windows, versions 2.0

  and 3.0
- Microsoft Visual Basic programming system for Windows, version 1.0 - The Standard and Professional Editions of Microsoft Visual Basic
  for MS-DOS, version 1.0

SUMMARY

The maximum size of a form in Microsoft Visual Basic for Windows and Microsoft Visual Basic for MS-DOS is limited to the size of the screen you are using.

In both Microsoft Visual Basic for MS-DOS and for Windows, the following code sizes a form to maximum size:

  TOP = 0
  LEFT = 0
  WIDTH = SCREEN.WIDTH
  HEIGHT = SCREEN.HEIGHT


Additional reference words: 1.00 2.00 3.00 3.10
KBCategory: kbui kbprg
KBSubcategory: APrgWindow


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: June 21, 1995
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.