SET MENUBAR

From Recital Documentation Wiki
Revision as of 14:25, 10 March 2009 by Yvonnemilne (Talk | contribs)

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

SET MENUBAR

Class

Screen Forms


Purpose

Enable or disable the menu bar in forms


Syntax

SET MENUBAR ON | OFF | (<expL>)


See Also

APPEND, EDIT, QUERY, BROWSE, SET PRERECORD, SET PREFORM, CREATE SCREEN, MODIFY SCREEN, READMODE()


Description

When the MENUBAR is set ON, it enables use of the [MENU] key from within forms to activate user-defined menus. If MENUBAR is set OFF, the [MENU] is disabled from inside forms for activating user-defined menus. This is particularly useful when using the same form for APPEND and EDIT operations. The default setting for MENUBAR is ON.


Example

if menuitem()="APPEND"
set menubar off
append
else
set menubar on
edit
endif


Products

Recital Terminal Developer