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

135 lines
7.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="ENTFLDATR (Entry Field Attribute) keyword for display files" />
<meta name="abstract" content="Use this field-, record-, or file-level keyword to define the leading attribute of the field that changes to a specified attribute whenever the cursor is located in the field." />
<meta name="description" content="Use this field-, record-, or file-level keyword to define the leading attribute of the field that changes to a specified attribute whenever the cursor is located in the field." />
<meta name="DC.subject" content="ENTFLDATR (Entry Field Attribute) keyword, Entry Field Attribute (ENTFLDATR) keyword, entry field attribute, creating" />
<meta name="keywords" content="ENTFLDATR (Entry Field Attribute) keyword, Entry Field Attribute (ENTFLDATR) keyword, entry field attribute, creating" />
<meta name="DC.Relation" scheme="URI" content="rzakcmstkeyent.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="rzakcmstentfld" />
<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>ENTFLDATR (Entry Field Attribute) keyword for display files</title>
</head>
<body id="rzakcmstentfld"><a name="rzakcmstentfld"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">ENTFLDATR (Entry Field Attribute) keyword for display files</h1>
<div><p>Use this field-, record-, or file-level keyword to define the leading
attribute of the field that changes to a specified attribute whenever the
cursor is located in the field.</p>
<div class="section"><p>When defined at both the field- and record-level, the field-level
specification is used for the field. The ENTFLDATR keyword is ignored when
the workstation is not attached to a controller that supports an enhanced
data stream.</p>
<div class="p">The format of the keyword is: <pre>ENTFLDATR[([color] [display attribute] [cursor visible])]</pre>
</div>
<p>The
parameters are optional for the keyword.</p>
<p>The color parameter specifies
the color the field will change to when the cursor enters the field on a color
workstation. The parameter is specified as an expression of the form (*COLOR
value).</p>
<div class="p">The valid values for the color parameter are: <dl><dt><strong>Value</strong></dt>
<dd><strong>Meaning</strong></dd>
<dt class="dlterm">BLU</dt>
<dd>Blue</dd>
<dt class="dlterm">GRN</dt>
<dd>Green</dd>
<dt class="dlterm">PNK</dt>
<dd>Pink</dd>
<dt class="dlterm">RED</dt>
<dd>Red</dd>
<dt class="dlterm">TRQ</dt>
<dd>Turquoise</dd>
<dt class="dlterm">YLW</dt>
<dd>Yellow</dd>
<dt class="dlterm">WHT</dt>
<dd>White</dd>
</dl>
</div>
<p>If the color parameter is not specified, the default
is white.</p>
<p>The display-attribute parameter specifies the display attributes
of the field when the cursor enters the field. The parameter is specified
as an expression of the form (<var class="varname">*DSPATR value1 &lt;value2 &lt;value3...&gt;&gt;</var>).</p>
<div class="p">The
valid values for the display attributes are: <dl><dt><strong>Value</strong></dt>
<dd><strong>Meaning</strong></dd>
<dt class="dlterm">BL</dt>
<dd>Blink</dd>
<dt class="dlterm">CS</dt>
<dd>Column separator</dd>
<dt class="dlterm">HI</dt>
<dd>High intensity</dd>
<dt class="dlterm">ND</dt>
<dd>Nondisplay</dd>
<dt class="dlterm">RI</dt>
<dd>Reverse image</dd>
<dt class="dlterm">UL</dt>
<dd>Underline</dd>
</dl>
</div>
<p>The default display attribute is HI.</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, 3487 Models HC, and 3488<a name="fnsrc_1" href="#fntarg_1"><sup>1</sup></a> workstations to appear as color fields. Separator
lines will not appear when display attributes HI, RI, and UL are used.</div>
<p>The
cursor visible parameter allows the user to specify if the cursor is visible
or invisible when it enters the field. *CURSOR means the cursor will stay
visible and *NOCURSOR indicates that the cursor will become invisible when
it enters the field. *CURSOR is the default. When *NOCURSOR is specified on
the ENTFLDATR keyword, the specified field must have an I (inhibit keyword
entry) in position 35. If the field does not have data type I, than the default
is used for the visible cursor parameter.</p>
<p>The field containing the ENTFLDATR
keyword must be an input-capable field. The ENTFLDATR keyword is ignored for
the field with DSPATR(PR).</p>
<p>Option indicators are valid for this keyword.</p>
<p>If
the ENTFLDATR keyword is specified with the EDTMSK keyword, you might have
unpredictable results.</p>
</div>
<div class="example"><h4 class="sectiontitle">Example</h4><p>The following example shows how to specify
the ENTFLDATR keyword:</p>
<pre>|...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8
A
A R RECORD
A F1 10A B 3 4ENTFLDATR
A F2 10A B 13 4ENTFLDATR((*COLOR RED))
A F3 10I B 16 4ENTFLDATR(*NOCURSOR (*DSPATR HI RI))</pre>
<p>In
this example, the color turns white, the attribute is high intensity, and
the cursor is visible for F1. For F2, the color is red, the attribute is high
intensity, and the cursor is visible. For F3, the color is white, the attributes
are high intensity and reverse image, and the cursor is not visible.</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="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 name="fntarg_1" href="#fnsrc_1"><sup>1</sup></a> Dependent on the monitor attached
to the display device.</div>
</body>
</html>