Adding Menu Bar with Control of Maximum Height Clears Control

ID: Q90823


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


SYMPTOMS

If you have a control positioned at the top of the form with the Height property of the control set to its maximum value, and you then add a menu item (thus creating a menu bar), the control will disappear.


STATUS

Microsoft has confirmed this to be a bug in Microsoft Visual Basic for MS-DOS, version 1.0. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.


MORE INFORMATION

This problem occurs only if the control is set to its maximum height and is positioned at the top of the form, such that when the menu bar appears it will force the control to move down.

This problem can also occur if, for example, you create a menu with multiple items first, then position the maximum height control against the menu bar. Now size the form such that the single line menu bar wraps and becomes a menu bar of two or more lines. The control will again disappear.

The control still exists, it is just not visible. If you change the Height property to a value less than the maximum value, the control will reappear.

Additional query words: VBmsdos buglist1.00 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.