![]() | The Date component offers a facility to allow an end-user to specify a date. Since the various fields of this component internally perform a validity check, the value returned by this component will always conform to a valid date (e.g. it won't be possible to enter 30 February, or 65 April). Whether the date entered is within a range acceptable to the application will still need to be validated by the application software. |
This component is MSM specific. The events that are recognized for components of the type Date are: Create, Destroy, Enter, Exit, Modified, change, gotFocus, help, lostFocus and select.
The default property for a date is Value.
The property list for a date is:
Property Name (MSM-Workstation) | Property Name (MWAPI) | Default Value | Value Range |
---|---|---|---|
Active | ACTIVE | Boolean value | |
BackColor | BCOLOR | Color | |
Cancel | CANCEL | Boolean value | |
Changed | CHANGED | Boolean value | |
Container | Free text | ||
DataField | Field | ||
DateFormat | ZDATEFORMAT | Date format | |
DisplayOnly | CANCHANGE | Boolean value | |
FontBold | FSTYLE | Boolean value | |
FontFace | FFACE | Font face | |
FontItalic | FSTYLE | Boolean value | |
FontSize | FSIZE | Font size | |
FontUline | FSTYLE | Boolean value | |
ForeColor | FCOLOR | Color | |
Message | ZMESSAGE | Free text | |
MonthFormat | ZMONTHS | Names of months | |
Name | Name of component (current window) | ||
NextControl | NEXTG | Name of component | |
Pointer | PTYPE | Pointer (extended) | |
PosLeft | POS | Positive numeric value | |
PosTop | POS | Positive numeric value | |
PosUnits | POS | Unit Specification | |
SizeHeight | SIZE | 10 | Positive numeric value |
SizeUnits | SIZE | Unit Specification | |
SizeWidth | SIZE | 70 | Positive numeric value |
TBackColor | TBCOLOR | Color | |
TFontBold | TFSTYLE | Boolean value | |
TFontFace | TFFACE | Font face | |
TFontItalic | TFSTYLE | Boolean value | |
TFontSize | TFSIZE | Font size | |
TFontUline | TFSTYLE | Boolean value | |
TForeColor | TFCOLOR | Color | |
Title | TITLE | [Title] | Free text |
TitlePos | TPOS | Title position | |
Type | TYPE | ZDATE | Type of component |
Units | UNITS | Unit Specification | |
Value | VALUE | Date | |
VarName | Name of variable | ||
VarPermanent | Boolean value | ||
Visible | VISIBLE | Boolean value | |
Go back to the alphabetic list of components.