DATETIMEEDIT item definition
Defines a line-edit field with a calendar widget to pick a datetime, in a grid-based layout.
Syntax
DATETIMEEDIT 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
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, enableCalendar, firstDayOfWeek, showCurrentMonthOnly, showGrid, showWeekNumber.
Usage
Define the rendering and behavior of a date edit item tag,
with a DATETIMEEDIT element in the ATTRIBUTES section.
For more details about this item type, see DATETIMEEDIT item type.
Example
LAYOUT
GRID
{
[f1 ]
...
}
END
END
ATTRIBUTES
DATETIMEEDIT f1 = package.modts;
...