MSM-Workstation
Components

Document

The Document component offers the capability to enter a text consisting of multiple lines.

Scroll bars can be added to the document component to cater for long lines or large numbers of lines.

The events that are recognized for components of the type Document are: Create, Destroy, Enter, Exit, Modified, change, char, gotFocus, help, keyDown, keyUp and lostFocus.

The default property for a document is Value.

The property list for a document is:

Property Name
(MSM-Workstation)
Property Name
(MWAPI)
Default ValueValue Range
ActiveACTIVE Boolean value
BackColorBCOLOR Color
BorderFRAMED1Boolean value
CancelCANCEL Boolean value
ChangedCHANGED Boolean value
Container  Free text
DataField  Field
DisplayOnlyCANCHANGE Boolean value
FontBoldFSTYLE Boolean value
FontFaceFFACE Font face
FontItalicFSTYLE Boolean value
FontSizeFSIZE Font size
FontUlineFSTYLE Boolean value
ForeColorFCOLOR Color
MaxLengthCHARMAX Positive integer numeric value
MessageZMESSAGE Free text
Name  Name of component (current window)
NextControlNEXTG Name of component
PointerPTYPE Pointer (extended)
PosLeftPOS Positive numeric value
PosTopPOS Positive numeric value
PosUnitsPOS Unit Specification
ScrollHeightSCROLL Positive numeric value
ScrollHorzSCROLL Boolean value
ScrollUnitsSCROLL Unit Specification
ScrollVertSCROLL Boolean value
ScrollWidthSCROLL Positive numeric value
SelStartLengthINSELECT Selection
SizeHeightSIZE40Positive numeric value
SizeUnitsSIZE Unit Specification
SizeWidthSIZE40Positive numeric value
TBackColorTBCOLOR Color
TFontBoldTFSTYLE Boolean value
TFontFaceTFFACE Font face
TFontItalicTFSTYLE Boolean value
TFontSizeTFSIZE Font size
TFontUlineTFSTYLE Boolean value
TForeColorTFCOLOR Color
TabStopsZTABSTOPS Tabulator stops
TitleTITLE[Title]Free text
TitlePosTPOS Title position
TypeTYPEDOCUMENTType of component
UnitsUNITS Unit Specification
ValueVALUE Free text (long)
VarName  Name of variable
VarPermanent  Boolean value
VisibleVISIBLE Boolean value

Go back to the alphabetic list of components.