MSM-Workstation
Components

Spin Button

The Spin Button component offers a facility to enter or redefine a numeric value.

Two arrows button are provided and clicking on either will increase or decrease the numeric value.

The component includes a property called "Spin Step" which specifies the amount by which the value is incremented or decremented when the end-user clicks on one of these arrows. The default value for this property is 1 (one).

The events that are recognized for components of the type SpinButton are: Create, Destroy, Enter, Exit, Modified, change, gotFocus, help, lostFocus and select.

The default property for a spin button is Value.

The property list for a spin button 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
DisplayOnlyCANCHANGE Boolean value
FontBoldFSTYLE Boolean value
FontFaceFFACE Font face
FontItalicFSTYLE Boolean value
FontSizeFSIZE Font size
FontUlineFSTYLE Boolean value
ForeColorFCOLOR Color
MaxSCROLLRANGE Positive numeric value
MessageZMESSAGE Free text
MinSCROLLRANGE Positive numeric value
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
SizeWidthSIZE20Positive numeric value
SpinStepSCROLLBY Positive 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
TypeTYPEZNUMType of component
UnitsUNITS Unit Specification
ValueVALUE Positive numeric value
VarName  Name of variable
VarPermanent  Boolean value
VisibleVISIBLE Boolean value

Go back to the alphabetic list of components.