Custom Control Labels |
< Previous section | Table of Contents | Index | Next section >
Control labels are used to label buttons, options, and fields in MainBoss windows. For example, button labels like Save or Cancel are control labels.
Each control label used by MainBoss has an associated key. This is a string that MainBoss uses internally to identify the label. Typically, the key is the same (or similar) to the English language version of the label.
For some controls, the label has a short form and a long form. For example, the label used for the field where you specify a service contract has two forms: the full name "Service Contract" and the short form "Svc Cont.". The short form is used in windows that don't have enough room to display the full name. If a label has both a short form and a long form, you can edit either or both; if a label only has a short form or a long form, the edit window will only let you edit the one form that is used (although it will fill in both the "Default Full Text" and "Default Short Text" fields).
The ampersand (&) character has a special meaning for Windows control labels. Putting an ampersand immediately in front of a character in a control label makes that character a keyboard shortcut. For example, writing &Delete makes D a keyboard shortcut for the Delete button. The letter will be underlined in the button label; it can also be used as a way to click the button instead of using the mouse. (Press <Alt+D>.)
If you want a control label to contain a real ampersand character (as in "Save & Close") you must type two ampersand characters so that the ampersand is not mistaken for a keyboard shortcut. For example, you must type Save && Close if you want the user to see Save & Close.
To specify a new control label, you start in the Custom Text window (described in Creating Custom Text). Click the message file whose label you want to change, then click Controls. MainBoss displays a window that contains the following:
< Previous section | Table of Contents | Index | Next section >