MSM-Workstation
Format of Import/Export File

Button

[object type] is BUTTON.

Property Sample Value Possible Values
Active11 or 0, boolean value
CanContain01 or 0, boolean value
Cancel01 or 0, boolean value
NextControl Either empty string or the name of the control that is reached by typing <tab> while "on" this control
Picture Either empty string or name of file containing bitmap for picture
PosLeft8Floating point number, in "PosUnits" units
PosTop8Floating point number, in "PosUnits" units
PosUnitsZDLGPIXEL, POINT, ZDLG or CHAR
SizeHeight12Floating point number, in "PosUnits" units
SizeWidth56Floating point number, in "PosUnits" units
TitleText on ButtonFree text
TypeBUTTONMust be BUTTON for buttons

Action logic may be defined for the following events:
EventEvent-code
CreateEv10
EnterEv20
PushEv30v1
ExitEv40
DestroyEv50
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".