MSM-Workstation
Components

Text Box

The Text Box component offers a program a facility to display a variable value, and offers an end-user a facility to enter a value.
Clich here for an overview of the differences and similarities between the various components that provide selection list and input box capabilities.

If the property "display only" is set to true, it will not be possible for the end-user to modify the value in the text box. The program, however, may still make modifications to the value, and re-display its new value.

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

The default property for a text box is Value.

The property list for a text box 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
DispFmtParams   
DispFmtType   
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
PasswordCharZPASSWORDCHAR Password character
PointerPTYPE Pointer (extended)
PosLeftPOS Positive numeric value
PosTopPOS Positive numeric value
PosUnitsPOS Unit Specification
SelStartLengthINSELECT Selection
SizeHeightSIZE10Positive 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
TitleTITLE[Title]Free text
TitlePosTPOS Title position
TypeTYPETEXTType of component
UnitsUNITS Unit Specification
ValidateParams   
ValidateType   
ValueVALUE Free text
VarName  Name of variable
VarPermanent  Boolean value
VisibleVISIBLE Boolean value

Go back to the alphabetic list of components.