Form Cannot Be Larger Than the Screen (94665)



The information in this article applies to:

  • Microsoft Visual Basic Standard Edition for Windows 2.0
  • Microsoft Visual Basic Standard Edition for Windows 3.0
  • Microsoft Visual Basic for MS-DOS

This article was previously published under Q94665

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
				

Modification Type:MinorLast Reviewed:8/16/2005
Keywords:KB94665