MSM-Workstation
Components

Generic Box

The Generic Box component offers a facility to display text, geometric figures or freehand drawings, using commands from the Draw library in the MSM-GUI software.

The events that are recognized for components of the type Generic are: Create, Destroy, Enter, Exit, char, click, dblClick, gotFocus, help, keyDown, keyUp, lostFocus, ptrDown, ptrDrag, ptrMove and ptrUp.

The default property for a generic box is Title.

The property list for a generic box is:

Property Name
(MSM-Workstation)
Property Name
(MWAPI)
Default ValueValue Range
ActiveACTIVE Boolean value
BackColorBCOLOR Color
BorderFRAMED1Boolean value
CanContain 0Boolean value
CancelCANCEL Boolean value
Container  Free text
DrawTypeDRAWTYPE Library for drawing commands
FontBoldFSTYLE Boolean value
FontFaceFFACE Font face
FontItalicFSTYLE Boolean value
FontSizeFSIZE Font size
FontUlineFSTYLE Boolean value
ForeColorFCOLOR Color
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
SizeHeightSIZE40Positive numeric value
SizeUnitsSIZE Unit Specification
SizeWidthSIZE40Positive numeric value
TypeTYPEGENERICType of component
UnitsUNITS Unit Specification
VisibleVISIBLE Boolean value

Go back to the alphabetic list of components.