AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Ayuda / WLanguage / Funciones WLanguage / Controles, páginas y ventanas / Funciones de menús
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
<Menu>.Add (Function)
In french: <Menu>.Ajoute
Adds an existing popup menu into the main menu of the current window.
Example
// Add the "MENU_PopupMenu1" menu into the menu option "OPT_File"
OPT_File.Add(MENU_PopupMenu1)
 
// Add the "MENU_PopupMenu2" menu into the main menu "_Menu"
_Menu.Add(MENU_PopupMenu2)
Syntax
<Destination menu>.Add(<Popup menu> [, <Position>])
<Destination menu>: Menu name
Name of the menu option where the insertion must be performed.
If this parameter corresponds to a menu, the popup menu is added to the options of this menu.
If this parameter corresponds to a menu option, this menu option will display the options of the popup menu.
<Popup menu>: Menu name
Name of the popup menu that must be inserted.
<Position>: Optional integer
Position where the menu will be inserted.
If this parameter is not specified or if it is equal to -1, the popup menu is added at the end.
If this parameter is equal to 1, the popup menu is inserted at the beginning.
Remarks
If the window includes no main menu, this menu is created.
Component: wd290obj.dll
Versión mínima requerida
  • Versión 23
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 19/06/2023

Señalar un error o enviar una sugerencia | Ayuda local