Microsoft KB Archive/90823

= Adding Menu Bar with Control of Maximum Height Clears Control =

PSS ID Number: 90823

Article Last Modified on 1/8/2003

-

The information in this article applies to:


 * Microsoft Visual Basic for MS-DOS 1.0

-



This article was previously published under Q90823



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: KB90823

Technology: kbAudDeveloper kbVB100DOS kbVBSearch kbZNotKeyword3

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© 2004 Microsoft Corporation. All rights reserved.