TEXTEDIT item definition

Defines a multi-line edit field, in a grid-based layout.

Syntax

TEXTEDIT item-tag = field-name [ , attribute-list ] ;
  1. item-tag is an identifier that defines the name of the item tag in the layout section.
  2. field-name identifies the name of the screen record field.
  3. attribute-list defines the aspect and behavior of the form item.

Attributes

COLOR, COLOR WHERE, COMMENT, DEFAULT, DOWNSHIFT, FONTPITCH, HIDDEN, INCLUDE, JUSTIFY, KEY, NOT NULL, NOENTRY, PLACEHOLDER, PROGRAM, REQUIRED, SAMPLE, SCROLL, SIZEPOLICY, SCROLLBARS, STYLE, STRETCH, TAG, TITLE, TABINDEX, UNSORTABLE, UNSIZABLE, UNHIDABLE, UNMOVABLE, UPSHIFT, VALIDATE LIKE, WANTTABS, WANTNORETURNS.

Usage

Define the rendering and behavior of a text edit item tag, with an 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;
...