DATEEDIT stack item

Defines a line-edit with a calendar widget to pick a date in a stack-based layout.

Syntax

DATEEDIT field-name [ , attribute-list ] ;
  1. field-name identifies the name of the screen record field.
  2. attribute-list defines the aspect and behavior of the form item.

Form 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.

Style attributes

Common: backgroundColor, border, fontFamily, fontSize, fontStyle, fontWeight, localAccelerators, showAcceleratorInToolTip, textColor, textDecoration.

Class-specific: buttonIcon, calendarType, daysOff, firstDayOfWeek, showCurrentMonthOnly, showGrid, showWeekNumber.

Usage

Define the rendering and behavior of a date edit stack item, with a DATEEDIT element inside a STACK container.

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

Example

DATEEDIT order.shipdate;