Menu: getButton

Return a handle on the Button of Menu.

Example

var menu = dFrame.addMenu(parameters)

menu.getButton.setActivateOn('OVER')

Syntax

Menu.getButton()

Parameters

no parameter

Return value

returns a ButtonStyle

Usage

The only use of this method is to get a handle on the Button associated with a pop-up Menu in order to use Style methods on it.