MSM-Workstation
Format of Import/Export File

Window

[object type] is GUI.MSM.

Property Sample Value Possible Values
Active11 or 0, boolean value
CompPrefixGblXXXThree characters that may appear as the start of the name of a global variable
CompPrefixRtnXXXThree characters that may appear as the start of the name of a routine
CompTrace01 or 0, boolean value
DevModeGUICHUI or GUI {???}
GridHeight8Floating point number, in "GridUnits" units
GridOn11 or 0, boolean value
GridSnap11 or 0, boolean value
GridUnitsZDLGPIXEL, POINT, ZDLG or CHAR
GridWidth4Floating point number, in "GridUnits" units
MVersionMSMMSM or ???
Maximized01 or 0, boolean value
Menubar%Either empty string or name of menu bar
MinButton01 or 0, boolean value
PosLeft0Floating point number, in "PosUnits" units
PosRecall11 or 0, boolean value
PosTop0Floating point number, in "PosUnits" units
PosUnitsZDLGPIXEL, POINT, ZDLG or CHAR
Resizable11 or 0, boolean value
SizeHeight192.5Floating point number, in "SizeUnits" units
SizeRecall11 or 0, boolean value
SizeUnitsZDLGPIXEL, POINT, ZDLG or CHAR
SizeWidth260Floating point number, in "SizeUnits" units
TitleVexWindowFree text
TypeAPPLICATIONMust be APPLICATION for windows
UnitsZDLGPIXEL, POINT, ZDLG or CHAR
Visible11 or 0, boolean value
WinHeight208Floating point number, in "WinUnits" units
WinUnitsZDLGPIXEL, POINT, ZDLG or CHAR
WinWidth266Floating point number, in "WinUnits" units

Note: By default, all measures are in units called ZDLG, so-called "dialog units". In "dialog units", a character measures 5 ZDLG (wide) by 8 ZDLG (high).
In other words, the traditional screen containing 80x24 characters would measure 400x192 ZDLG units.

Action logic may be defined for the following events:
EventEvent-code
CreateEv10
EnterEv20
ExitEv40
DestroyEv50
ErrorEv80
CommonEv90
charEvCHAR
clickEvCLICK
closeEvCLOSE
dblClickEvDBLCLICK
gotFocusEvFOCUS
helpEvHELP
keyDownEvKEYDOWN
keyUpEvKEYUP
maximizeEvMAX
minimizeEvMIN
moveEvMOVE
ptrDownEvPDOWN
ptrDragEvPDRAG
ptrMoveEvPMOVE
ptrUpEvPUP
resizeEvRESIZE
restoreEvRESTORE
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".