ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Controls, pages and windows / Menu functions
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Transforms a menu option of a page in order for this option to open a popup.
Example
MenuAddPopup(MENU_Main.OPT_Products, POPUP_Products)
Syntax
MenuAddPopup(<Option name> , <Popup to display> [, <Position>])
<Option name>: Option name
Name of the menu option that must open a popup. This menu option must be a simple menu option. It must not open a sub-menu or be a separator option.
<Popup to display>: Popup name
Name of the popup that will be displayed by the option.
<Position>: Optional integer constant
Opening position of the popup:
menuPopupBottomCenteredMenuOpens the popup below the menu and centers it on the entire width of the menu (two popups of identical size and opened by two different options are displayed at the same location).
menuPopupBottomLeft
(Default value)
Opens the popup below the menu option and aligns it on the left side of the menu option.
menuPopupBottomRightOpens the popup below the menu option and aligns it on the right side of the menu option (the popup id displayed to the left).
menuPopupTopLeftOpens the popup on the left of the menu option and aligns it on the top side of the menu option (this constant is mainly used with the vertical menus).
menuPopupTopRightOpens the popup on the right of the menu option and aligns it on the top side of the menu option (this constant is mainly used with the vertical menus).
Component: wd290page.dll
Minimum version required
  • Version 18
Comments
Click [Add] to post a comment

Last update: 03/13/2023

Send a report | Local help