|
|
|
|
|
- Overview
- Characteristics of a menu option
- Caption of a menu option
- Translating the menu options
- Marking/Unmarking a menu option
- Image associated with a menu option
- Modifying the background color of menus and menu options
- Keyboard shortcut associated with a menu option
- Displaying the code of a menu option
Characteristics of menu options
Characteristics of a menu option Caption of a menu option The caption of a menu option can be modified in the window in edit: - Select a menu option.
- Press the Space key.
- Change the wording in the displayed input field.
- Press the Enter key to validate the input.
Remark: You also have the ability to select "Edit the caption" from the popup menu of menu option. Tip: To make text bold in the menu option, simply enclose the desired text between <B> and </B> by programming. For example:
OPT_New..Caption = "Rename '''Sheet 1'''"
Translating the menu options To translate the caption of menu options in the editor: - Display the window in the translation language:
- On the "Display" pane, in the "Options" group, expand "Language displayed" and choose the requested language.
- The captions of controls and menu options are displayed in the selected language.
- Type the text of options in the selected language (Space key on the menu options).
Reminder: The caption typed when creating a menu option is applied to all languages supported by the current window. Marking/Unmarking a menu option Each menu option can be preceded (or not) by the checkmark  . This checkmark is used to see the active features for example.
Pto check a menu item under the editor: - Select the menu option to mark.
- Display the "UI" tab in the description window of menu option ("Option description" from the popup menu).
- Check "Checkmark". The mark
will precede the current menu item when the menu is displayed.
Remarks: - At run time, to hide and/or display the
checkmark, use MenuMark and MenuUnmark. It is also possible to use the property ..Checked.
 Only ..Checked is available. - In most cases, a menu option cannot be preceded by both a checkmark and an image.
 You don't have the ability to check or not an option.
Image associated with a menu option Each menu option can be preceded (or not) by an image.
Press an image in front of a menu item: - Select the menu option in front of which the image must be displayed.
- Display the "UI" tab in the description window of menu option ("Option description" from the popup menu).
- Select the image to display. This image can be chosen in the image catalog (click the
button and select the "Catalog" option).
Remarks: - To find out and/or modify the image associated with a menu option, use ..Image.
- In most cases, a menu option cannot be preceded by both a checkmark and an image.
Displaying the code of a menu option To display the code of a menu option: - Select the menu option whose source code must be displayed.
- Display the popup menu of the current menu option (right mouse click).
- Select "Code". The code window of the current menu option is displayed.
Remarks: - The code of a menu option can also be displayed from its description window. To do so, click
. This code corresponds to the code run when the menu option is selected by the user. It is possible to add optional events using the "Add more events to xxx" link at the bottom of the code window. - Only menu options that do not have a submenu can launch a WLanguage event.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|