MSM-Workstation
Format of Import/Export File

RadioButton

[object type] is RADIO.

Property Sample Value Possible Values
Active11 or 0, boolean value
Border11 or 0, boolean value
DisplayOnly01 or 0, boolean value
FillDirectionVH or V
NextControl Either empty string or the name of the control that is reached by typing <tab> while "on" this control
PosLeft68Floating point number, in "PosUnits" units
PosTop8Floating point number, in "PosUnits" units
PosUnitsZDLGPIXEL, POINT, ZDLG or CHAR
RowColROWROW or COL
RowColSize3Integer number, indicating number of possibilities
SizeHeight40Floating point number, in "PosUnits" units
SizeWidth48Floating point number, in "PosUnits" units
TitleText for RadiobuttonFree text
TypeRADIOMust be RADIO for radio buttons
VarName Either empty string or name of local variable
VarPermanent01 or 0, boolean value

A radio button generally has a number of "sub-sub-entities" that describe the possible choices.

Action logic may be defined for the following events:
EventEvent-code
CreateEv10
EnterEv20
PushEv30v1
ExitEv40
DestroyEv50
changeEvCHANGE
deselectEvDESELECT
gotFocusEvFOCUS
helpEvHELP
selectEvSELECT
lostFocusEvUNFOCUS

The code for each event is encoded as:

   Begin Event [event code]
-------- Begin Document ActionLogic [number of lines]
First line
Second line
etcetera
-------- End
   End

Note: It is important that the [number of lines] exactly matches the actual number of lines between "----- Begin" and "----- End".