PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
WinDevWebDev - Server codeWebDev - Browser codeWinDev MobileReports and QueriesWindowsLinuxWindows MobileWindows PhoneWindows Store appsAndroidAndroid Widget iPhone/iPadJavaPHPAjaxUser code (UMC)External languageHFSQLHFSQL Client/ServerStored proceduresHyper File 5.5OLE DBODBCNative Accesses

MenuAddPopup (Function)
In French: MenuAjoutePopup

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>: Character string
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>: Character string
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).
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).
menuPopupBottomLeft
(Default value)
Opens the popup below the menu option and aligns it on the left side of the menu option.
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).
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).

Components
Reports and Queries wd190page.dll
Minimum version required
  • Version 18
This page is also available for…
Comments
Click [Add] to post a comment