PUSH MENU

From Recital Documentation Wiki
Jump to: navigation, search

Purpose

Place a menu bar definition on the stack


Syntax

PUSH MENU <MENU>


See Also

ACTIVATE MENU, DEFINE MENU, POP MENU, POP POPUP, PUSH POPUP, SET COMPATIBLE


Description

PUSH MENU is used to place the specified <menu> on the stack. The menu definition can then be changed while still allowing the original definition to be restored with POP MENU. Menus are always placed on and removed from the stack in a last in, first out order. SET COMPATIBLE should be set to ON when using this command.


Example

push menu _msysmenu
set sysmenu to _mfile, _medit
pop menu _msysmenu


Products

Recital