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

124 lines
6.1 KiB
HTML
Raw Permalink 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="PULLDOWN (Pull-Down Menu) keyword for display files" />
<meta name="abstract" content="Use this record-level keyword to define a record as a pull-down menu for a menu bar. When this record is written, it is saved by the system and it is displayed later as a pull-down menu for a menu-bar choice." />
<meta name="description" content="Use this record-level keyword to define a record as a pull-down menu for a menu bar. When this record is written, it is saved by the system and it is displayed later as a pull-down menu for a menu-bar choice." />
<meta name="DC.subject" content="PULLDOWN (Pull-Down Menu) keyword, Pull-Down Menu (PULLDOWN) keyword, pull-down menu, creating" />
<meta name="keywords" content="PULLDOWN (Pull-Down Menu) keyword, Pull-Down Menu (PULLDOWN) keyword, pull-down menu, 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="rzakcmstpulld" />
<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>PULLDOWN (Pull-Down Menu) keyword for display files</title>
</head>
<body id="rzakcmstpulld"><a name="rzakcmstpulld"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">PULLDOWN (Pull-Down Menu) keyword for display files</h1>
<div><p>Use this record-level keyword to define a record as a pull-down
menu for a menu bar. When this record is written, it is saved by the system
and it is displayed later as a pull-down menu for a menu-bar choice.</p>
<div class="section"><div class="p">The format of the keyword is: <pre>PULLDOWN[(*SLTIND | *NOSLTIND)]
[(*NORSTCSR | *RSTCSR)]</pre>
</div>
<p>The parameters are optional.</p>
<p>The
SLTIND parameter specifies whether the selection indicators (such as radio
buttons) for a selection field in the pull-down menu are displayed. *SLTIND
specifies that the selection indicators should be displayed. *NOSLTIND specifies
that the selection indicators should not be displayed. The default is *SLTIND.</p>
<p>The
RSTCSR parameter specifies if the user should be allowed limited function
when the cursor is outside of the pull-down window. When *NORSTCSR is specified
and the cursor is outside of the pulldown window, the user will be allowed
to press a function key and have it function as if the cursor were within
the window. When *RSTCSR is specified, if the user attempts to press a function
key while the cursor is outside of the pulldown window, the user will receive
a beep and the cursor will be placed inside the pulldown-window. Control will
not be returned to the application. The default is *NORSTCSR.</p>
<p>A record
containing the PULLDOWN keyword is considered a window record, although the
WINDOW keyword cannot be used. The system calculates the dimensions of the
pull-down window and generates the border.</p>
<p>The
following keywords cannot be specified on a record with the PULLDOWN 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>ALARM<br />
ALTNAME<br />
ALWGPH<br />
ALWROL<br />
ASSUME<br />
CLEAR<br />
CLRL<br />
ERASE<br />
ERASEINP</p>
</td>
<td valign="top" width="33.33333333333333%"> <p>FRCDTA<br />
HLPCLR<br />
HLPSEQ<br />
INVITE<br />
INZRCD<br />
MDTOFF<br />
MNUBAR<br />
OVERLAY<br />
OVRATR</p>
</td>
<td valign="top" width="33.33333333333333%"> <p>OVRDTA<br />
PUTOVR<br />
PUTRETAIN<br />
RTNDTA<br />
SFL<br />
SLNO<br />
USRDFN<br />
WDWTITLE<br />
WINDOW</p>
</td>
</tr>
</tbody>
</table>
</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 PULLDOWN keyword:</p>
<pre>|...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8
A
A R MENUBAR MNUBAR
A MNUFLD 2Y 0B 1 2
A MNUBARCHC(1 PULLFILE 'File ')
A :
A :
A R PULLFILE PULLDOWN
A :
A :
A</pre>
<p>In this example, record PULLFILE is defined as a pull-down
menu for a menu-bar choice. When record PULLFILE is written, the system saves
it and displays it when it is selected from the menu bar. When
the system displays the PULLFILE record, it calculates the dimensions needed
for the pull-down window based on the contents of the PULLFILE record, and
generates the pull-down border accordingly.</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>