Microsoft SDK for Java

ToolBarButton.getDropDownMenu

Retrieves the drop-down menu associated with this button.

Syntax

public final Menu getDropDownMenu()

Return Value

Returns a Menu object that identifies the menu to be displayed when this button is pressed.

Remarks

You can associate a menu with a toolbar button by defining the button style as ToolBarButtonStyle.DROPDOWN.

See Also   setDropDownMenu

© 1999 Microsoft Corporation. All rights reserved. Terms of use.