PRB: Form with Menu Displays Border w/ Borderstyle Set to NoneLast reviewed: September 24, 1997Article ID: Q174214 |
The information in this article applies to:
SYMPTOMSA Form with a menu displays a border and a titlebar when the BorderStyle property of the form is set to 0-None. The Form displays a border even when the Menus it contains are not visible.
CAUSEVisual Basic requires a Form with a Menu to have visible borders.
RESOLUTIONCreate a second Form to contain your popup menu and use the PopupMenu method in the first Form to access the Menu of the second Form.
STATUSThis behavior is by design.
MORE INFORMATIONThis section provides instructions on how to create a borderless Form with a popup menu.
Step-by-Step Example
REFERENCESPopupMenu method topic in the Online Help (c) Microsoft Corporation 1997, All Rights Reserved. Contributions by Arsenio Locsin, Microsoft Corporation Keywords : VB4ALL VB4WIN vb5all VBKBMenu VBKBPopup Version : WINDOWS:4.0,5.0 Platform : WINDOWS Issue type : kbprb |
================================================================================
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |