Customise menus and toolbars
You can use this function to modify the layout of menus and toolbars of the interface.
To run this function: Customise > Customise menus/toolbars.
You can edit menus and toolbars using the buttons on the right side of the Modify Menus and Toolbars form or by right-clicking the item you want to edit.
Fields on the Modify Menus and Toolbars form
| Field | Description |
|---|---|
| Surpac Menus/Toolbars | Lists all the system menus and toolbars. You cannot modify these items. However, you can copy them into the User Menus/Toolbars folder and modify them there. |
| User Menus/Toolbars | Lists all your custom menus and toolbars. You can customise items in this folder. |
| Menubars |
Lists the menu bars. If you select Menubars in the User menus/Toolbars section, all the commands are available. If you select Menubars in the Surpac Menus/Toolbars section, only the Copy command is available. You can create a custom menu under a menu bar by clicking the New button. You can create a custom menu item under a menu. When you click New to create a menu item, the Create Menu Item form appears. |
| Toolbars |
Lists the toolbars. For the User menus/Toolbars section, all the commands are available. For the Surpac Menus/Toolbars section, only the Copy command is available. You can create a custom toolbar item under a custom toolbar. When you click the New button to create a toolbar item, the Create Toolbar Item form appears. |
| New | Creates a new menu bar, menu, menu item, toolbar, or toolbar item, depending on which folder or item is selected. The keyboard shortcut to add a new item is INSERT. |
| Edit | You can edit the properties of any new item you have created in the User section. You can rename an item, but names should not contain a space or any of the following characters: / \ : * ? < > | " |
| Delete | Removes the selected item from the User section. The keyboard shortcut to delete is DELETE. |
| Cut | Removes a menu item or toolbar item, and keeps in memory so you can paste it. The keyboard shortcut is CTRL-X. |
| Copy | Copies the selected item to memory. To change an existing menu or toolbar, copy it from the Surpac section, or the already-modified User section, and paste it into another part of the User section. The keyboard shortcut to copy is CTRL-C. |
| Paste | Pastes the copied item from memory. The keyboard shortcut to paste is CTRL-V. |
| Up | Moves the selected menu item or toolbar item to a higher position in the menu or toolbar. |
| Down | Moves the selected menu item or toolbar item to a lower position in the menu or toolbar. |
| Save Profile As |
Saves the profile you have made as the current profile, as an existing profile, or as a new profile. Type the name of the profile if you want to save to a new profile.
|
| Make default profile | Sets the profile to which you are saving as the default profile. The default profile is loaded next time you start Surpac. |
After you have clicked New to create a new menu item, the Create Menu Item form is displayed. After you have clicked New to create a new toolbar item, the Create Toolbar Item form is displayed. Many of the controls in these forms are the same, so both forms are described in the following table. Some fields are displayed only in specific circumstances, which are stated in the table.
Fields on the Create Menu Item form or the Create Toolbar Item form
| Field | Description |
|---|---|
| Menu type |
|
| Default and Selected |
When you create a toolbar item, of menu type: Toggle, you can select both of these options.
|
| Label | The text label for an item of menu type Label. |
| Type |
|
| Command | The script to run when you click the menu item or toolbar item. |
| Image |
Several Surpac icons are available for the toolbar item. Alternatively, you can import your own. The images you can select are stored in the SSI_RESOURCE:\icons directory. You can also import images from other directories. If you import an image from an external directory, when the toolbar is saved, a copy of the image is created in the SSI_PROFILES:\<profileName>\resource\icons\custom directory.
|
| Selected | When the menu type is Radio, you can set the item to be Selected by default. |
| Name | When the menu type is Submenu, you type the name of the submenu here. |
| Tool Tip | You can type a ToolTip for a toolbar item. The ToolTip appears when you move the pointer over the toolbar item. |
Output
The menu bars and toolbars are modified in the way that you specified. The profile that you selected is current.
Notes:
- Showing or hiding menus and toolbars
- Floating toolbars
- Importing custom menus and toolbars
You can hide or show any of the menu bars or toolbars. To do so, right-click a menu bar or toolbar, and use the submenus to select the menus or toolbars you want to see.
You can make a toolbar 'float' by clicking anywhere on the toolbar you want to float, and dragging it out of its current docked place. When you save your profile, Surpac will remember the position of this toolbar when you restart Surpac. You can dock a floating toolbar by dragging the toolbar into the docking area under the menu bars. You can close a toolbar by clicking the cross in its top right corner.
If you have a custom menu bar or toolbar hidden, or a floating toolbar, and you use Customise Menus/Toolbars, after the settings are applied, these floating toolbars and hidden menu bars and toolbars are docked and visible respectively. This only occurs for the custom menus and toolbars. You can right-click to hide them again, or drag to make them float, and then save your profile.
When you install a new version of Surpac, and you still have an older version of Surpac installed on the computer, you are prompted to retrieve settings from the older installation. If you retrieve the older setings, the custom menus or toolbars from the older installation are imported into the new version of Surpac.
Messages