90 lines
5.4 KiB
HTML
90 lines
5.4 KiB
HTML
|
<?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="CHCACCEL (Choice Accelerator Text) keyword for display files" />
|
||
|
<meta name="abstract" content="Use this field-level keyword on a single-choice selection field in a pull-down record to specify text for the accelerator key on a choice." />
|
||
|
<meta name="description" content="Use this field-level keyword on a single-choice selection field in a pull-down record to specify text for the accelerator key on a choice." />
|
||
|
<meta name="DC.subject" content="CHCACCEL (Choice Accelerator Text) keyword, Choice Accelerator Text (CHCACCEL) keyword" />
|
||
|
<meta name="keywords" content="CHCACCEL (Choice Accelerator Text) keyword, Choice Accelerator Text (CHCACCEL) keyword" />
|
||
|
<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="rzakcmstchcacc" />
|
||
|
<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>CHCACCEL (Choice Accelerator Text) keyword for display files</title>
|
||
|
</head>
|
||
|
<body id="rzakcmstchcacc"><a name="rzakcmstchcacc"><!-- --></a>
|
||
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
||
|
<h1 class="topictitle1">CHCACCEL (Choice Accelerator Text) keyword for display files</h1>
|
||
|
<div><p>Use this field-level keyword on a single-choice selection field
|
||
|
in a pull-down record to specify text for the accelerator key on a choice.</p>
|
||
|
<div class="section"> <div class="note"><span class="notetitle">Note:</span> CHCACCEL only specifies the text that should describe the
|
||
|
accelerator key. It does not enable the function key.</div>
|
||
|
<div class="p">The format
|
||
|
of the keyword is: <pre>CHCACCEL(choice-number accelerator-text)</pre>
|
||
|
</div>
|
||
|
<p>The
|
||
|
choice-number parameter specifies the number of the choice on the single selection
|
||
|
field that this keyword applies to. Valid values are 1 to 99.</p>
|
||
|
<div class="p">The accelerator-text
|
||
|
parameter specifies the text identifying the accelerator key. The parameter
|
||
|
can be specified in one of two forms: <ul><li>As a character string: 'Accelerator text'</li>
|
||
|
<li>As a program-to-system field: &field-name</li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
<p>The field specified must exist in the same record as the selection
|
||
|
field and must be defined as a character field with usage P. This text is
|
||
|
placed 3 spaces to the right of the maximum length of the choice text. The
|
||
|
maximum length of the accelerator text is determined by the length of the
|
||
|
longest choice text. The combination of the two must not exceed the width
|
||
|
of the smallest display size specified for the file.</p>
|
||
|
<p>The CHCACCEL keyword
|
||
|
is allowed only on single-choice selection fields (SNGCHCFLD keyword specified
|
||
|
on the same field) in pull-down records (PULLDOWN keyword specified at the
|
||
|
record level).</p>
|
||
|
<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 CHCACCEL keyword:</p>
|
||
|
<pre>|...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8
|
||
|
A
|
||
|
A R PULLEDIT CF04 CF06
|
||
|
A PULLDOWN
|
||
|
A F1 2Y 0B 1 2SNGCHCFLD
|
||
|
A CHOICE(1 '>Undo')
|
||
|
A CHOICE(2 '>Mark')
|
||
|
A CHOICE(3 '>Copy')
|
||
|
A CHCACCEL(1 'F4')
|
||
|
A CHCACCEL(2 &F6);
|
||
|
A F6 2A P</pre>
|
||
|
<p>In this example, choice
|
||
|
1 has the accelerator key CF04 and choice 2 has the accelerator
|
||
|
key CF06. When the pull-down menu is displayed, the character text F4 appears
|
||
|
to the right of the text 'Undo', with 3 spaces in between, and the text in
|
||
|
field F6 appears to the right of the text 'Mark', with 3 spaces in between.
|
||
|
The longest choice text determines the length of all choice text. The same
|
||
|
is true for the ACCEL text. The ACCEL text is then started 3 spaces to the
|
||
|
right of the longest choice.</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>
|