|
|
|
|
|
- Overview
- Vocabulary associated with the main menus
- How to create, edit and delete a main menu?
- Creating a main menu
- Editing a main menu
- Deleting a main menu
- ? menu
- Handling a main menu through programming
Managing main window menus
A main menu is always associated with a window. This menu is displayed below the title bar of the window. In most cases, the applications contain a menu window. This window only contains a main menu and is used to access the other windows of the application. Vocabulary associated with the main menus To easily handle a main menu, you must be familiar with the following vocabulary:
How to create, edit and delete a main menu? Creating a main menu To create a main menu: - In the window editor, open the window where a main menu must be added.
- On the "Window" tab, in the "Bars and menus" group, expand "Main menu" and select "Add main menu". The first menu option is displayed in the menu bar. By default, the name of main menu is "_Menu" and the caption of this first option is "Menu".
The menu is automatically created in the Action Bar control. - To modify the name of main menu:
- display the "General" tab of window description ("Description" in the context menu of the window) and type the new name for the main menu in the "Name of main menu" option.
- display the "Style" tab of window description ("Description" in the context menu of window) and type the new name for the main menu in the "Name of main menu" option.
- Add the menu options into the window in edit. For more details, see Handling the menu options.
Tip: To add images into the menu options, use the image catalog ("Catalog" option of button). The selected images will be automatically adapted to the size and to the image format expected by the runtime platform used. Editing a main menu To edit a main menu: - Open a window containing a main menu in the window editor.
- Select one of the menu options. The options and the sub-options are automatically displayed.
Deleting a main menu To delete a main menu: - In the window editor, open the window from which the main menu must be deleted.
- On the "Window" tab, in the "Bars and menus" group, expand "Main menu" and select "Delete main menu". All the menu options and the code associated with this main menu are deleted.
Handling a main menu through programming
Related Examples:
|
Training (WINDEV): WD Animated Menu
[ + ] The "WD Animated Menu" example proposes several menu animations, based on the interface of the full example named "WD Managing Orders". These animations allow the main menu to be more attractive and dynamic when opening the window: - appearance of the menu buttons with a fade-in effect, - movement of the buttons - etc.
|
|
Training (WINDEV): WD OSD
[ + ] OSD means: On-Screen Display. This is the name given to the interfaces that appear on the computer screens or on the TV screens for example. They are used to perform settings in most cases. These types of menus are displayed above all the other elements found on the screen. This example explains how to create this type of interface in WINDEV.
|
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|