Controls are not displayed on Windows Forms that are larger than the screen resolution (822497)
The information in this article applies to:
- Microsoft Visual Basic .NET (2003)
- Microsoft Visual Basic .NET (2002)
SYMPTOMSWhen you run a Microsoft Windows application, a Windows Form that is
larger than the screen resolution may not display all the controls. For
example, if your Windows Form is 1024 X 768 and your screen resolution is 800 X 600, you may not able to see all the controls on the
form.CAUSEThis problem occurs because a Windows Form
display on the screen is restricted to the current screen resolution settings. Therefore,
the controls on a Windows Form are not displayed if you put the controls in a location that exceeds the
current screen resolution settings. However, the controls are added to the
Windows Form.WORKAROUNDTo work around this problem, enable the AutoScroll property of the Windows Form. To do this, follow these steps:
- In the Windows Form Designer, right-click the form and then
click Properties.
- In the Properties window, set the
AutoScroll property to True.
A scroll bar is added to the form. You
can use the scroll bar to work with the controls that were not previously displayed.
STATUS This
behavior is by design.REFERENCESFor more information about Windows Forms, visit the following Microsoft Developer Network (MSDN) Web site:
| Modification Type: | Minor | Last Reviewed: | 2/3/2006 |
|---|
| Keywords: | kbvs2005swept kbvs2005doesnotapply kbdisplay kbControl kbWindowsForms kbprb KB822497 kbAudDeveloper |
|---|
|