DATEEDIT item definition

Defines a line-edit field with a calendar widget to pick a date, in a grid-based layout.

Syntax

DATEEDIT 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

AUTONEXT, CENTURY, COLOR, COLOR WHERE, COMMENT, DEFAULT, FONTPITCH, FORMAT, HIDDEN, IMAGECOLUMN, INCLUDE, JUSTIFY, KEY, NOT NULL, NOENTRY, PLACEHOLDER, REQUIRED, SAMPLE, STYLE, TAG, TABINDEX, TITLE, UNSORTABLE, UNSIZABLE, UNHIDABLE, UNMOVABLE, VALIDATE LIKE.

Usage

Define the rendering and behavior of a date edit item tag, with a DATEEDIT element in the ATTRIBUTES section.

For more details about this item type, see DATEEDIT item type.

Example

LAYOUT
GRID
{
[f1         ]
 ...

}
END
END

ATTRIBUTES
DATEEDIT f1 = order.shipdate;
...