TEXTEDIT item definition
Defines attributes for a multi-line edit field.
Syntax
TEXTEDIT item-tag = field-name [
, attribute-list ]
;
- item-tag is an identifier that defines the name of the item tag in the layout section.
- field-name identifies the name of the screen record field.
- attribute-list defines the aspect and behavior of the form item.
Form attributes
COLOR
, COLOR WHERE
, COMMENT
, DEFAULT
, DOWNSHIFT
, FONTPITCH
, HIDDEN
, INCLUDE
, JUSTIFY
, KEY
, NOT NULL
, NOENTRY
, PLACEHOLDER
, PROGRAM
, REQUIRED
, SAMPLE
, SCROLL
, SIZEPOLICY
, SCROLLBARS
, STYLE
, STRETCH
, STRETCHMAX
, STRETCHMIN
, TAG
, TITLE
, TABINDEX
, UNSORTABLE
, UNSIZABLE
, UNHIDABLE
, UNMOVABLE
, UPSHIFT
, VALIDATE LIKE
, WANTTABS
, WANTNORETURNS
.
Style attributes
Common: backgroundColor
, border
, fontFamily
, fontSize
, fontStyle
, fontWeight
, textColor
, textDecoration
.
Class-specific: wrapPolicy
, sanitize
, textFormat
, showEditToolBox
.
Usage
Define the rendering and behavior of a text edit item tag,
with a TEXTEDIT
element in the ATTRIBUTES
section.
For more details about this item type, see TEXTEDIT item type.
Example
LAYOUT
GRID
{
[f1 ]
[ ]
[ ]
[ ]
...
}
END
END
ATTRIBUTES
TEXTEDIT f1 = customer.address,
WANTTABS, SCROLLBARS=BOTH;
...