Topic: APLX Help : System Classes : Methods : Popup
[ Previous | Next | Contents | Index | APL Home ]

www.microapl.co.uk

The 'Popup' method


Argument: Either None, or a 2-element numeric vector
Result: None

Valid for: Menu

The Popup method is used for pop-up menus (i.e. menus which are not children of a window, and which thus do not appear in the window's menu bar). The Popup method displays the pop-up menu, and is typically called in response to a user action such as a right-mouse click.

If Popup is called without an argument, the menu pops up at the current mouse position. It can alternatively be called with a two-element numeric vector argument, specifying the Y and X position at which the menu should pop up on the screen. These values are expressed in the current scale units of the System object.


Topic: APLX Help : System Classes : Methods : Popup
[ Previous | Next | Contents | Index | APL Home ]