MSM-Workstation
Format of Import/Export File

Tool Bar

A ToolBar consists of a number of possible toolbar-choices. Each toolbar-choice can define an action to be taken when the toolbar-choice in question is selected.

See the file toolbar.txt for an example of a tool bar definition.

Property Sample Value Possible Values
BarSiteTOPTOP, BOTTOM, LEFT or RIGHT
BarSize33Integer number (height or width of bar in pixels)
ButtonHeight22Integer number (height of button in pixels)
ButtonWidth24Integer number (width of button in pixels)
PictureF,c:\edm\msmws\bitmaps.bmpF, followed by name of file containing the bitmaps for the pictures on the buttons
PictureHeight15Integer number (height of the pictures on the buttons in pixels)
PictureWidth16Integer number (width of the pictures on the buttons in pixels)
Visible11 or 0, boolean value

Sub-entities of tool bars are toolbar-choices.
In the context of a toolbar-choice, the [entity] is called TBChoice, the [name] field represents the sequence number of the button on the toolbar.
The [object type] is not applicable.

Property Sample Value Possible Values
Accelerator Either empty string or one of ALT+BKSP, CTRL+A, CTRL+B, CTRL+C, CTRL+D, CTRL+E, CTRL+F, CTRL+G, CTRL+H, CTRL+I, CTRL+J, CTRL+K, CTRL+L, CTRL+M, CTRL+N, CTRL+O, CTRL+P, CTRL+Q, CTRL+R, CTRL+S, CTRL+T, CTRL+U, CTRL+V, CTRL+W, CTRL+X, CTRL+Y, CTRL+Z, CTRL+F1, CTRL+F2, CTRL+F3, CTRL+F4, CTRL+F5, CTRL+F6, CTRL+F7, CTRL+F8, CTRL+F9, CTRL+F10, CTRL+F11, CTRL+F12, CTRL+INS, DEL, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, SHIFT+CTRL+F1, SHIFT+CTRL+F2, SHIFT+CTRL+F3, SHIFT+CTRL+F4, SHIFT+CTRL+F5, SHIFT+CTRL+F6, SHIFT+CTRL+F7, SHIFT+CTRL+F8, SHIFT+CTRL+F9, SHIFT+CTRL+F10, SHIFT+CTRL+F11, SHIFT+CTRL+F12, SHIFT+DEL, SHIFT+F1, SHIFT+F2, SHIFT+F3, SHIFT+F4, SHIFT+F5, SHIFT+F6, SHIFT+F7, SHIFT+F8, SHIFT+F9, SHIFT+F10, SHIFT+F11, SHIFT+F12 or SHIFT+INS
Active11 or 0, boolean value
PictureIndex1Integer number (sequence number of picture in bitmap file (first picture has number 0)
SepWidth0Integer number (number of additional separator pixels between this button and the next)
StylePUSHOne of PUSH, CHECK or RADIO
ToolTip Free text (appears when cursor hovers over button)
Value0???

The code for each event is encoded as:

   Begin Event EvSELECT
----------- 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".