AttachToolbarToFlyout Method

Attaches a toolbar to a toolbar button defined as a flyout.

See Also | Example

Signature

object.AttachToolbarToFlyout(MenuGroupName, ToolbarName)

Object

ToolbarItem
The object or objects this method applies to.

MenuGroupName

String; input-only
The name of the menu group containing the toolbar you want to attach.

ToolbarName

String; input-only
The name of the toolbar you want to attach.

Remarks

To create a new button as a flyout, use the AddToolBarButton method and set the FlyoutButton parameter to TRUE. Once a button has been created as a flyout button, you can then use the AttachToolbarToFlyout method to attach a flyout toolbar to that button.

To query a toolbar button to see if it is a flyout button, use the Type property. To find the toolbar attached to a flyout toolbar button, use the Flyout property.

 

   Comments?