MSM-Workstation
Components

Radio Button

The Radio Button component offers a facility that allows the end-user to choose from a limited number of possibilities.

Out of one group of radio buttons, only one can be selected, that is, when the end-user selects another possible value, the previously selected value will automatically be deselected.

The choice editor offers a facility to edit the possible choices.

Hint: If the list of possible values is "only two possible values", a Check Box might be preferrable. When the list is up to five, the Radio Button is probably the best approach. Up to a couple of dozen, the List Box or Drop Down List is the best way, and if the list is even longer, the Long List Box is to be preferred.

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

The default property for a radio button is Value.

The property list for a radio button 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
FillDirectionROWCOLVFill direction
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
RowColROWCOLCOLRow or column
RowColSizeROWCOL1Positive integer numeric value
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
TitleTITLE[Title]Free text
TitlePosTPOS Title position
TypeTYPERADIOType of component
UnitsUNITS Unit Specification
ValueVALUE Item in list of choices
VarName  Name of variable
VarPermanent  Boolean value
VisibleVISIBLE Boolean value

Go back to the alphabetic list of components.