164 lines
9.9 KiB
HTML
164 lines
9.9 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="CHCSLT (Choice Color/Display Attribute when Selected) keyword for display files" />
|
|
<meta name="abstract" content="Use this field-level keyword to specify the color or display attributes to be used when displaying a selected choice in a menu bar or selection field." />
|
|
<meta name="description" content="Use this field-level keyword to specify the color or display attributes to be used when displaying a selected choice in a menu bar or selection field." />
|
|
<meta name="DC.subject" content="CHCSLT (Choice Color/Display Attribute when Selected), Choice Color/Display Attribute when Selected (CHCSLT) keyword, color/display attribute, selected, specifying, color/display selected" />
|
|
<meta name="keywords" content="CHCSLT (Choice Color/Display Attribute when Selected), Choice Color/Display Attribute when Selected (CHCSLT) keyword, color/display attribute, selected, specifying, color/display selected" />
|
|
<meta name="DC.Relation" scheme="URI" content="rzakcmstkeyent.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="rzakcmstdfsflml.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="rzakcmstdfcolor.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="rzakcmstchcslt" />
|
|
<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>CHCSLT (Choice Color/Display Attribute when Selected) keyword for display
|
|
files</title>
|
|
</head>
|
|
<body id="rzakcmstchcslt"><a name="rzakcmstchcslt"><!-- --></a>
|
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
|
<h1 class="topictitle1">CHCSLT (Choice Color/Display Attribute when Selected) keyword for display
|
|
files</h1>
|
|
<div><p>Use this field-level keyword to specify the color or display attributes
|
|
to be used when displaying a selected choice in a menu bar or selection field.</p>
|
|
<div class="section"><p>You can use this keyword to specify the color or display attributes
|
|
to be used for selected choices in a selection field, if the selection field
|
|
is in a pull-down menu that has PULLDOWN (*NOSLTIND). You can also use the
|
|
CHCSLT keyword on a subfile control record, when the subfile is used as a
|
|
single choice or multiple choice selection list. The selected list item is
|
|
displayed in the color indicated by the keyword on a color display, or displayed
|
|
with the attribute indicated by the keyword.</p>
|
|
<div class="p">The format of the keyword
|
|
is: <pre>CHCSLT([color] [display-attributes])</pre>
|
|
</div>
|
|
<p>One
|
|
parameter must be specified.</p>
|
|
<p>The color parameter indicates the color
|
|
of the choice text specified on the MNUBARCHC or CHOICE keywords for the field
|
|
on a color workstation. The parameter is specified as an expression of the
|
|
form (*COLOR value).</p>
|
|
<p>The valid values for the color parameter are:</p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" frame="void" border="0" rules="none"><thead align="left"><tr><th valign="top" width="NaN%" class="firstcol" id="d0e50">Value</th>
|
|
<th valign="top" width="NaN%" id="d0e52">Meaning</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr><th valign="top" width="NaN%" class="firstcol" id="d0e56" headers="d0e50 ">BLU</th>
|
|
<td valign="top" width="NaN%" headers="d0e56 d0e52 ">Blue</td>
|
|
</tr>
|
|
<tr><th valign="top" width="NaN%" class="firstcol" id="d0e61" headers="d0e50 ">GRN</th>
|
|
<td valign="top" width="NaN%" headers="d0e61 d0e52 ">Green</td>
|
|
</tr>
|
|
<tr><th valign="top" width="NaN%" class="firstcol" id="d0e66" headers="d0e50 ">PNK</th>
|
|
<td valign="top" width="NaN%" headers="d0e66 d0e52 ">Pink</td>
|
|
</tr>
|
|
<tr><th valign="top" width="NaN%" class="firstcol" id="d0e71" headers="d0e50 ">RED</th>
|
|
<td valign="top" width="NaN%" headers="d0e71 d0e52 ">Red</td>
|
|
</tr>
|
|
<tr><th valign="top" width="NaN%" class="firstcol" id="d0e76" headers="d0e50 ">TRQ</th>
|
|
<td valign="top" width="NaN%" headers="d0e76 d0e52 ">Turquoise</td>
|
|
</tr>
|
|
<tr><th valign="top" width="NaN%" class="firstcol" id="d0e81" headers="d0e50 ">YLW</th>
|
|
<td valign="top" width="NaN%" headers="d0e81 d0e52 ">Yellow</td>
|
|
</tr>
|
|
<tr><th valign="top" width="NaN%" class="firstcol" id="d0e86" headers="d0e50 ">WHT</th>
|
|
<td valign="top" width="NaN%" headers="d0e86 d0e52 ">White</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<p>If the color parameter is not specified, the default color for
|
|
the selected choice in a menu bar is white. The default color for the selected
|
|
choices in a selection field in a pull-down menu that does not display selection
|
|
characters is white. The color parameter is ignored on a monochrome display.</p>
|
|
<p>The
|
|
display-attribute parameter indicates the display attributes of the choice
|
|
text specified on the MNUBARCHC or CHOICE keywords for the field. The parameter
|
|
is specified as an expression of the form (<var class="varname">*DSPATR value1 <value2 <value3...>></var>).</p>
|
|
<p>The
|
|
valid values for the display attributes are:</p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" frame="void" border="0" rules="none"><thead align="left"><tr><th valign="top" width="NaN%" class="firstcol" id="d0e105">Value</th>
|
|
<th valign="top" width="NaN%" id="d0e107">Meaning</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr><th valign="top" width="NaN%" class="firstcol" id="d0e111" headers="d0e105 ">BL</th>
|
|
<td valign="top" width="NaN%" headers="d0e111 d0e107 ">Blink</td>
|
|
</tr>
|
|
<tr><th valign="top" width="NaN%" class="firstcol" id="d0e116" headers="d0e105 ">CS</th>
|
|
<td valign="top" width="NaN%" headers="d0e116 d0e107 ">Column separator</td>
|
|
</tr>
|
|
<tr><th valign="top" width="NaN%" class="firstcol" id="d0e121" headers="d0e105 ">HI</th>
|
|
<td valign="top" width="NaN%" headers="d0e121 d0e107 ">High intensity</td>
|
|
</tr>
|
|
<tr><th valign="top" width="NaN%" class="firstcol" id="d0e126" headers="d0e105 ">ND</th>
|
|
<td valign="top" width="NaN%" headers="d0e126 d0e107 ">Nondisplay</td>
|
|
</tr>
|
|
<tr><th valign="top" width="NaN%" class="firstcol" id="d0e131" headers="d0e105 ">RI</th>
|
|
<td valign="top" width="NaN%" headers="d0e131 d0e107 ">Reverse image</td>
|
|
</tr>
|
|
<tr><th valign="top" width="NaN%" class="firstcol" id="d0e136" headers="d0e105 ">UL</th>
|
|
<td valign="top" width="NaN%" headers="d0e136 d0e107 ">Underline</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<p>The default display attribute for the selected choice in a menu
|
|
bar is normal (or low) intensity. The default display attribute for the selected
|
|
choices in a selection field in a pull-down menu that does not display selection
|
|
characters is high intensity.</p>
|
|
<div class="note"><span class="notetitle">Note:</span> Display attributes CS, HI, and BL can
|
|
cause fields on 5292, 3179, 3197 Models C1 and C2, 3477 Model FC, 3486, 3487
|
|
Models HC, and 3488<a href="#rzakcmstchcslt__clor1">1</a> workstations
|
|
to appear as color fields. Separator lines do not appear when display attributes
|
|
HI, RI, and UL are used.</div>
|
|
<p>When this keyword is specified for a field,
|
|
either the MNUBARCHC keyword or the CHOICE keyword must also be specified
|
|
on the field. If the CHOICE keyword is specified on the field rather than
|
|
MNUBARCHC, the record containing this field must have the PULLDOWN keyword
|
|
specified with the value *NOSLTIND. When CHCSLT is specified for a subfile
|
|
control record, either the SFLSNGCHC or SFLMLTCHC keyword must also be specified
|
|
on the subfile record.</p>
|
|
<p>Option indicators are valid for this keyword.</p>
|
|
</div>
|
|
<div class="example"><h4 class="sectiontitle">Example</h4> <p>The following example shows how to specify
|
|
the CHCSLT keyword:</p>
|
|
<pre>|...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8
|
|
A
|
|
A R RECORD MNUBAR
|
|
A F1 2Y 0B 1 2
|
|
A MNUBARCHC(1 PULLFILE 'File ')
|
|
A MNUBARCHC(2 PULLEDIT 'Edit ')
|
|
A CHCSLT((*COLOR PNK) (*DSPATR RI))
|
|
A</pre>
|
|
<p>In this example, when the choice is selected on a color
|
|
display, the menu bar is displayed in pink reverse image.</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 class="relref"><strong>Related reference</strong><br />
|
|
<div><a href="rzakcmstdfsflml.htm" title="Use this record-level keyword to define a subfile as a multiple-choice-selection list. A multiple-choice-selection list is a scrollable group of items from which the user can select multiple items.">SFLMLTCHC (Subfile Multiple Choice Selection List) keyword for display files</a></div>
|
|
<div><a href="rzakcmstdfcolor.htm" title="Use this keyword to specify the color of a field on a color display.">COLOR (Color) keyword for display files</a></div>
|
|
</div>
|
|
</div><div class="p"><a id="rzakcmstchcslt__clor1"><sup>1</sup></a> Dependent
|
|
on the monitor attached to the display device.</div>
|
|
</body>
|
|
</html> |