Visual Basic Reference
Sets a value that determines whether or not a form incorporates the menus from an object on the form on the form's menu bar. Not available at run time.
The NegotiateMenus property has these settings:
|True||(Default) When an object on the form is active for editing, the menus of that object are displayed on the form's menu bar.|
|False||Menus of objects on the form aren't displayed on the form's menu bar.|
Using the NegotiateMenus property, you determine if the menu bar of a form will share (or negotiate) space with the menus of an active object on the form. If you don't want to include the menus of the active object on the menu bar of your form, set NegotiateMenus to False.
You can't negotiate menus between an MDIForm object and an object on the MDIForm.
If NegotiateMenus is set to True, the form must have a menu bar defined, even if the menu bar isn't visible. If the MDIChild property of the form is set to True, the menus of the active object are displayed on the menu bar of the MDI parent window (MDIForm object).
When NegotiateMenus is set to True, you can use the NegotiatePosition property of individual Menu controls to determine the menus that your form displays along with the menus of the active object.