ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzakc_5.4.0.1/rzakcmstmnubar.htm

127 lines
6.0 KiB
HTML
Raw Normal View History

2024-04-02 14:02:31 +00:00
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en-us" xml:lang="en-us">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="security" content="public" />
<meta name="Robots" content="index,follow" />
<meta http-equiv="PICS-Label" content='(PICS-1.1 "http://www.icra.org/ratingsv02.html" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true r (n 0 s 0 v 0 l 0) "http://www.classify.org/safesurf/" l gen true r (SS~~000 1))' />
<meta name="DC.Type" content="reference" />
<meta name="DC.Title" content="MNUBAR (Menu Bar) keyword for display files" />
<meta name="abstract" content="Use this record-level keyword to define a menu bar." />
<meta name="description" content="Use this record-level keyword to define a menu bar." />
<meta name="DC.subject" content="MNUBAR (Menu Bar) keyword, Menu Bar (MNUBAR) keyword, menu bar, creating" />
<meta name="keywords" content="MNUBAR (Menu Bar) keyword, Menu Bar (MNUBAR) keyword, menu bar, creating" />
<meta name="DC.Relation" scheme="URI" content="rzakcmstkeyent.htm" />
<meta name="copyright" content="(C) Copyright IBM Corporation 2001, 2006" />
<meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 2001, 2006" />
<meta name="DC.Format" content="XHTML" />
<meta name="DC.Identifier" content="rzakcmstmnubar" />
<meta name="DC.Language" content="en-us" />
<!-- All rights reserved. Licensed Materials Property of IBM -->
<!-- US Government Users Restricted Rights -->
<!-- Use, duplication or disclosure restricted by -->
<!-- GSA ADP Schedule Contract with IBM Corp. -->
<link rel="stylesheet" type="text/css" href="./ibmdita.css" />
<link rel="stylesheet" type="text/css" href="./ic.css" />
<title>MNUBAR (Menu Bar) keyword for display files</title>
</head>
<body id="rzakcmstmnubar"><a name="rzakcmstmnubar"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">MNUBAR (Menu Bar) keyword for display files</h1>
<div><p>Use this record-level keyword to define a menu bar.</p>
<div class="section"><p>A menu bar is a horizontal list of choices that is followed by
an optional separator line. The choices represent groups of related actions
that the application user can select. For example, a group of actions appears
in a pull-down menu when the user selects a menu-bar choice. A menu-bar record
contains a field with one or more MNUBARCHC keywords that define the menu-bar
choices. The separator line is generated by the system.</p>
<div class="p">The format of
the keyword is: <pre>MNUBAR([*SEPARATOR | *NOSEPARATOR])</pre>
</div>
<p>The
parameter is optional and specifies whether a separator line should be placed
below the last line of the menu-bar choices. *SEPARATOR indicates that a menu-bar
separator line should be placed after the last line of the menu-bar choices.
*NOSEPARATOR indicates that a menu-bar separator line should not be displayed.
The default is *SEPARATOR.</p>
<div class="note"><span class="notetitle">Note:</span> If *NOSEPARATOR is specified, the MNUBARSEP
keyword cannot be specified on this record.</div>
<p>A record
with the MNUBAR keyword specified must contain one and only one menu bar field
(a field with one or more MNUBARCHC keywords), and cannot contain any displayable
fields other than the menu bar field.</p>
<p>The following keywords are allowed
on a record containing the MNUBAR keyword:</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" width="100%" frame="void" border="0" rules="none"><tbody><tr><td valign="top" width="33.33333333333333%"><p>CAnn<br />
CFnn<br />
CLEAR<br />
CLRL<br />
CSRLOC<br />
DSPMOD<br />
HELP<br />
HLPCLR<br />
HLPCMDKEY<br />
HLPRTN</p>
</td>
<td valign="top" width="33.33333333333333%"><p>HLPTITLE<br />
HOME<br />
INDTXT<br />
INVITE<br />
KEEP<br />
LOCK<br />
MNUBARDSP<br />
MNUBARSEP<br />
MNUBARSW</p>
</td>
<td valign="top" width="33.33333333333333%"><p>MNUCNL<br />
OVERLAY<br />
PAGEDOWN/PAGEUP<br />
PRINT<br />
PROTECT<br />
ROLLUP/ROLLDOWN<br />
TEXT<br />
UNLOCK<br />
VLDCMDKEY</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="note"><span class="notetitle">Note:</span> These keywords are ignored on the menu-bar record if the menu-bar
record is displayed by the system (for example, if MNUBARDSP is specified
on a record other than this menu-bar record).</div>
<p>Option indicators are
not valid for this keyword.</p>
</div>
<div class="example"><h4 class="sectiontitle">Example</h4> <p>The following example shows how to specify
the MNUBAR keyword.</p>
<pre>|...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8
A R RECORD1 MNUBAR
A MNUFLD 2Y 0I 1 2
A MNUBARCHC(1 RCDFILE 'File')
A MNUBARCHC(2 RCDEDIT 'Edit')
A MNUBARCHC(3 RCDVIEW 'View')
A MNUBARCHC(4 RCDOPT 'Options')
A MNUBARCHC(5 RCDHELP 'Help')
A :
A :
A</pre>
<p>In this example, RECORD1 is defined as a menu-bar record.
When RECORD1 is displayed, the menu-bar choices defined on the field MNUFLD
are displayed as a menu bar. The menu-bar choices are followed by a separator
line. On character-based displays, the separator line is made up of blue dashes.
On a graphical display attached to a controller that supports an enhanced
interface for nonprogrammable workstations, the separator line is a solid
line.</p>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzakcmstkeyent.htm" title="You type the keyword entries that define display files in positions 45 through 80 (functions).">DDS keyword entries for display files (positions 45 through 80)</a></div>
</div>
</div>
</body>
</html>