POP MENU

From Recital Documentation Wiki
Revision as of 15:31, 16 March 2009 by Yvonnemilne (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

POP MENU

Class

Menus


Purpose

Retrieve a menu bar definition from the stack


Syntax

POP MENU <MENU> [TO MASTER]


See Also

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


Description

POP MENU recovers the specified <menu> from the stack following a corresponding PUSH MENU command. 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.

TO MASTER

Using the TO MASTER clause will restore the first menu pushed onto the stack and then clear all others from the stack.


Example

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


Products

Recital Mirage Server, Recital Terminal Developer