See the file toolbar.txt for an example of a tool bar definition.
Property | Sample Value | Possible Values |
---|---|---|
BarSite | TOP | TOP, BOTTOM, LEFT or RIGHT |
BarSize | 33 | Integer number (height or width of bar in pixels) |
ButtonHeight | 22 | Integer number (height of button in pixels) |
ButtonWidth | 24 | Integer number (width of button in pixels) |
Picture | F,c:\edm\msmws\bitmaps.bmp | F, followed by name of file containing the bitmaps for the pictures on the buttons |
PictureHeight | 15 | Integer number (height of the pictures on the buttons in pixels) |
PictureWidth | 16 | Integer number (width of the pictures on the buttons in pixels) |
Visible | 1 | 1 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 | |
Active | 1 | 1 or 0, boolean value |
PictureIndex | 1 | Integer number (sequence number of picture in bitmap file (first picture has number 0) |
SepWidth | 0 | Integer number (number of additional separator pixels between this button and the next) |
Style | PUSH | One of PUSH, CHECK or RADIO |
ToolTip | Free text (appears when cursor hovers over button) | |
Value | 0 | ??? |
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".