MSM-Workstation
Format of Import/Export File

Scroll

[object type] is SCROLL.

Property Sample Value Possible Values
Active11 or 0, boolean value
DisplayOnly01 or 0, boolean value
NextControl Either empty string or the name of the control that is reached by typing <tab> while "on" this control
PosLeft60Floating point number, in "PosUnits" units
PosTop88Floating point number, in "PosUnits" units
PosUnitsZDLGPIXEL, POINT, ZDLG or CHAR
ScrollLarge Floating point number (step size for large scroll request)
ScrollMax Floating point number (maximum value of scroll range)
ScrollMin Floating point number (minimum value of scroll range)
ScrollSmall Floating point number (step size for small (normal) scroll request)
SizeHeight10Floating point number, in "PosUnits" units
SizeWidth40Floating point number, in "PosUnits" units
TitleTitle for Scroll BarFree text
TypeSCROLLMust be SCROLL for scroll bars
VarName Either empty string or name of local variable
VarPermanent01 or 0, boolean value

Action logic may be defined for the following events:
EventEvent-code
CreateEv10
ScrollEv30v4
DestroyEv50
helpEvHELP
ptrDragEvPDRAG
selectEvSELECT

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".