PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • 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 Popup menu
  • Overview
  • Creating the options of a popup menu
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Handling the menu options
Overview
The popup menu of the menu options allows you to perform all the 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.
Notes:
  • To exit from the menu in edit, press the [Esc] key (the yellow border disappears).
  • To associate an action with a menu option, you can use the description window of the menu option or the code associated with the option. See Programming a drop-down menu for more details.
  • Versions 18 and later
    To create a popup menu, all you have to do is associate the menu option with a popup found in the page. See Popup menu options for more details.
    New in version 18
    To create a popup menu, all you have to do is associate the menu option with a popup found in the page. See Popup menu options for more details.
    To create a popup menu, all you have to do is associate the menu option with a popup found in the page. See Popup menu options for more details.
  • The following functions can be used to add options to an existing menu:
    Versions 14 and later
    MenuAddMenu
    New in version 14
    MenuAddMenu
    MenuAddMenu
    Adds a new menu into a window or into a page.
    Versions 14 and later
    MenuAddOption
    New in version 14
    MenuAddOption
    MenuAddOption
    Adds a new menu option at the end of a menu.
    Versions 18 and later
    MenuAddPopup
    New in version 18
    MenuAddPopup
    MenuAddPopup
    Transforms a menu option of a page in order for this option to open a popup
    Versions 14 and later
    MenuAddSeparator
    New in version 14
    MenuAddSeparator
    MenuAddSeparator
    Adds a new separator into a menu.
    Versions 14 and later
    MenuAddURLOption
    New in version 14
    MenuAddURLOption
    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
The different operations

Changing the caption of a menu option

To change the caption of a menu option:
  1. Select the option.
  2. Press the [Space] key.
  3. Enter the new caption and press the [Enter] key to validate.

Adding a menu option

To add a menu option:
  1. To add a menu option after the selected menu option, display the popup menu of the current menu option (right mouse click) and select "Add after".
  2. Press the [Enter] key.
  3. Enter the caption of the new option and press the [Enter] key to validate.
Note: The [Esc] key is used to cancel the addition of a menu option.

Adding a separator

To add a separator:
  1. Select the sub-menu option after which a separator will be added.
  2. Display the popup menu of the current menu option (right mouse click).
  3. Select "Insert a separator".

Adding a sub-menu

To add a sub-menu:
  1. Select the menu option to which a sub-option must be added.
  2. Display the popup menu of the current menu option (right mouse click).
  3. Select "Insert a sub-menu".
  4. Press the [Space] key.
  5. Enter the caption of the first option of the created sub-menu.
  6. Press the [Enter] key to validate the addition.
Note: 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:
  1. Select the menu option to delete.
  2. Display the popup menu of the current menu option (right mouse click).
  3. Select "Delete".
Note: You also have the ability to delete the current menu option by pressing the [Del] key.
Versions 18 and later
Configuring the options of a Popup 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 popup menu

To create the options of a popup menu:
  1. Display the menu in edit mode: the menu must be enclosed by a yellow line.
  2. Select the menu option that must display the popup page.
  3. Display the popup menu of the option (right mouse click) and select "Expand a popup page".
  4. The "GUI" 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, ...).
  5. Validate the description window. If you have chosen a new popup, the popup appears in creation in the editor.
  6. 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.
Note: You also have the ability to transform an existing menu option into an option that opens a popup:
  1. Display the menu in edit mode: the menu must be enclosed by a yellow line.
  2. Display the popup menu of the option (right mouse click) and select "Description of the option".
  3. In the "GUI" tab, select the popup window that must be associated with the option.
New in version 18
Configuring the options of a Popup 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 popup menu

To create the options of a popup menu:
  1. Display the menu in edit mode: the menu must be enclosed by a yellow line.
  2. Select the menu option that must display the popup page.
  3. Display the popup menu of the option (right mouse click) and select "Expand a popup page".
  4. The "GUI" 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, ...).
  5. Validate the description window. If you have chosen a new popup, the popup appears in creation in the editor.
  6. 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.
Note: You also have the ability to transform an existing menu option into an option that opens a popup:
  1. Display the menu in edit mode: the menu must be enclosed by a yellow line.
  2. Display the popup menu of the option (right mouse click) and select "Description of the option".
  3. In the "GUI" tab, select the popup window that must be associated with the option.
Configuring the options of a Popup 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 popup menu

To create the options of a popup menu:
  1. Display the menu in edit mode: the menu must be enclosed by a yellow line.
  2. Select the menu option that must display the popup page.
  3. Display the popup menu of the option (right mouse click) and select "Expand a popup page".
  4. The "GUI" 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, ...).
  5. Validate the description window. If you have chosen a new popup, the popup appears in creation in the editor.
  6. 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.
Note: You also have the ability to transform an existing menu option into an option that opens a popup:
  1. Display the menu in edit mode: the menu must be enclosed by a yellow line.
  2. Display the popup menu of the option (right mouse click) and select "Description of the option".
  3. In the "GUI" tab, select the popup window that must be associated with the option.
See also
Minimum required version
  • Version 9
Comments
Click [Add] to post a comment