DATETIMEEDIT stack item

Defines a line-edit with a calendar widget for selecting a datetime in a stack-based layout.

Syntax

DATETIMEEDIT 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, COLOR, COLOR WHERE, COMMENT, DEFAULT, FONTPITCH, HIDDEN, INCLUDE, IMAGECOLUMN, JUSTIFY, NOT NULL, NOENTRY, PLACEHOLDER, REQUIRED, SAMPLE, STYLE, TABINDEX, TAG, 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-time edit stack item, with a DATETIMEEDIT element inside a STACK container.

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

Example

DATETIMEEDIT package.modts;