Microsoft KB Archive/90150

= ACC: Custom Menus Cannot Be Implemented with Pop-up Forms =

Article ID: 90150

Article Last Modified on 1/18/2007

-

APPLIES TO


 * Microsoft Access 1.0 Standard Edition
 * Microsoft Access 1.1 Standard Edition
 * Microsoft Access 2.0 Standard Edition
 * Microsoft Access 95 Standard Edition
 * Microsoft Access 97 Standard Edition

-



This article was previously published under Q90150



Moderate: Requires basic macro, coding, and interoperability skills.



SUMMARY
A form will not process the macro associated with the MenuBar properties if you design the form with the PopUp property set to True. A form that is designed as a pop-up window does not have any menus associated with it. If you want a custom menu when the pop-up window is created, you can create a separate non pop-up window and maintain the custom menu.

NOTE: In Microsoft Access 7.0 and earlier, you created a custom menu bar by setting the MenuBar property to the name of a menu bar macro. You then created macro groups containing the commands for the menus on this menu bar. This functionality is still supported in Microsoft Access 97. However, it is strongly recommended that you create custom menu bars with the new Customize dialog box, available by clicking Toolbars on the View menu.

NOTE: In Microsoft Access 1.x, the MenuBar property is called the OnMenu property.

NOTE: According to &quot;The Windows Interface - An Application Design Guide,&quot; dialog boxes (pop-up) generally do not have menu bars.

