PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
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
MenuDelete (Function)
In French: MenuSupprime
AjaxNot available
Deletes a menu or a menu option.
WINDEVWINDEV Mobile You have the ability to delete options from the main menu or from a popup menu.
WEBDEV - Server codeLinuxPHP Only the menus, options and separators added by programming (with MenuAddMenu, MenuAddOption and MenuAddSeparator) can be deleted.
Versions 16 and later
PHP This function is now available for the PHP sites.
WINDEVLinux This function is now available for the WINDEV applications in Linux.
New in version 16
PHP This function is now available for the PHP sites.
WINDEVLinux This function is now available for the WINDEV applications in Linux.
PHP This function is now available for the PHP sites.
WINDEVLinux This function is now available for the WINDEV applications in Linux.
Example
// Delete the "OPT_Exit" option from the "FileMenu" menu
MenuDelete(FileMenu.OPT_Exit)
Syntax

Deleting a menu Hide the details

MenuDelete(<Menu Name>)
<Menu Name>: Character string (with or without quotes)
Name of the menu to delete.

Deleting a menu option Hide the details

MenuDelete(<Option Name>)
<Option Name>: Character string (with or without quotes)
Name of the menu option to delete, in the following format: "<Menu Name>.<Option Name>".
This option will be permanently deleted from the menu.

Deleting a menu option by its subscript Hide the details

MenuDelete(<Menu Name> , <Option Rank>)
<Menu Name>: Character string (with or without quotes)
Name of the menu containing the option to delete. It can be a main menu or a popup menu.
<Option Rank>: Integer
Rank of the option to delete from the menu (the ranks start from 1).
This option will be permanently deleted from the menu.
Components
WINDEVReports and Queries wd230obj.dll
WEBDEV - Server code wd230page.dll
Windows Mobile wp230obj.dll
Java wd230java.jar
Linux wd230obj.so
Minimum required version
  • Version 11
This page is also available for…
Comments
Click [Add] to post a comment