- Overview
- The different operations
- Changing the caption of a menu option
- Adding a menu option
- Adding a separator
- Adding a sub-menu
- Deleting a menu option
- Configuring the options of a Context menu
- Overview
- Creating the options of a context menu
Handling WEBDEV menu options
The context menu of menu options allows you to perform all operations required to define a drop-down menu. To handle the options, click the menu: a yellow border appears. The popup menu of the menu options allows you to directly add the options into the page in edit. Remarks: - To exit from the menu in edit, press the Esc key (the yellow border will disappear).
- To associate an action with a menu option, you can use the description window of menu option or the code associated with the option. For more details, see Programming a drop-down menu.
- To create a context menu, all you have to do is associate the menu option with a popup found in the page. For more details, see Context menu options.
- The following functions can be used to add options to an existing menu:
| | MenuAddMenu | Adds a new menu into a window or into a page. | MenuAddOption | Adds a new menu option at the end of a menu. | MenuAddPopup | Transforms a menu option of a page in order for this option to open a popup. | MenuAddSeparator | Adds a new separator into a menu. | MenuAddURLOption | Adds a new menu option at the end of a page menu. This menu option is used to display the page corresponding to the specified URL. |
Changing the caption of a menu option To change the caption of a menu option: - Select the option.
- Press the Space key.
- Type the new caption and press the Enter key to validate.
Adding a menu option To add a menu option: - To add a menu option after the selected menu option, display the popup menu of current menu option (right mouse click) and select "Add after".
- Press Enter.
- Type the caption of new option and press the Enter key to validate.
Remark: The Esc key is used to cancel the addition of a menu option. Adding a separator To add a separator: - Select the sub-menu option after which a separator will be added.
- Right-click to open the context menu of the option.
- Select "Insert a separator".
Adding a sub-menu To add a sub-menu: - Select the menu option to which a sub-option must be added.
- Right-click to open the context menu of the option.
- Select "Insert a sub-menu".
- Press the Space key.
- Type the caption of first option of created sub-menu.
- Press Enter to validate the addition.
Remark: The method for adding sub-options into a sub-menu is the same as the method for adding options into a menu. Deleting a menu option To delete a menu option: - Select the menu option to delete.
- Right-click to open the context menu of the option.
- Select "Delete".
Remark: You also have the ability to delete the current menu option by pressing the Del key. Configuring the options of a Context menu Overview In a "Popup" menu, hovering an option in the menu bar is used to open a Popup page that can be customized. The popup page is used to easily create graphic menus. You have the ability to insert any type of control into the popup. Creating the options of a context menu To create the options of a popup menu: - Display the menu in edit mode: the menu must be enclosed by a yellow line.
- Select the menu option that must display the popup page.
- Display the popup menu of the option (right mouse click) and select "Expand a popup page".
- The "UI" tab of the description window of the menu option is displayed. In this window:
- Select the popup page that must be displayed. If the popup page does not exist, click "<New popup>" to create it.
- Select the position of the popup in relation to the option (below, on the right, on the left, ...).
- Validate the description window. If you have chosen a new popup, the popup appears in creation in the editor.
- The popup associated with the option can also be viewed in the editor:
- display (if necessary) the menu in edit mode (with the yellow border).
- click the menu option associated with the popup.
Remark: You also have the ability to transform an existing menu option into an option that opens a popup: - Display the menu in edit mode: the menu must be enclosed by a yellow line.
- Display the popup menu of the option (right mouse click) and select "Description of the option".
- In the "UI" tab, select the popup window that must be associated with the option.
|
|
|
|