Share via


Visual Basic Reference

Negotiate Property

See Also    Example    Applies To

Sets a value that determines whether a control that can be aligned is displayed when an active object on the form displays one or more toolbars. Not available at run time.

Settings

The Negotiate property has these settings:

Setting Description
True If the control is aligned within the form (the Align property is set to a nonzero value), the control remains visible when an active object on the form displays a toolbar.
False (Default) The control isn't displayed when an active object on the form displays a toolbar. The toolbar of the active object is displayed in place of the control.

Remarks

The Negotiate property exists for all controls with an Align property. You use the Align property to align the control within a Form or MDIForm object; however, the toolbar negotiation occurs only on the MDIForm. The aligned control must be on the MDIForm.

If the NegotiateToolbars property is set to False, the setting of the Negotiate property has no effect.