MSM-Workstation
Components

Date

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 ValueValue Range
ActiveACTIVE Boolean value
BackColorBCOLOR Color
CancelCANCEL Boolean value
ChangedCHANGED Boolean value
Container  Free text
DataField  Field
DateFormatZDATEFORMAT Date format
DisplayOnlyCANCHANGE Boolean value
FontBoldFSTYLE Boolean value
FontFaceFFACE Font face
FontItalicFSTYLE Boolean value
FontSizeFSIZE Font size
FontUlineFSTYLE Boolean value
ForeColorFCOLOR Color
MessageZMESSAGE Free text
MonthFormatZMONTHS Names of months
Name  Name of component (current window)
NextControlNEXTG Name of component
PointerPTYPE Pointer (extended)
PosLeftPOS Positive numeric value
PosTopPOS Positive numeric value
PosUnitsPOS Unit Specification
SizeHeightSIZE10Positive numeric value
SizeUnitsSIZE Unit Specification
SizeWidthSIZE70Positive numeric value
TBackColorTBCOLOR Color
TFontBoldTFSTYLE Boolean value
TFontFaceTFFACE Font face
TFontItalicTFSTYLE Boolean value
TFontSizeTFSIZE Font size
TFontUlineTFSTYLE Boolean value
TForeColorTFCOLOR Color
TitleTITLE[Title]Free text
TitlePosTPOS Title position
TypeTYPEZDATEType of component
UnitsUNITS Unit Specification
ValueVALUE Date
VarName  Name of variable
VarPermanent  Boolean value
VisibleVISIBLE Boolean value

Go back to the alphabetic list of components.