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
MenuAddSeparator (Function)
In French: MenuAjouteSéparateur
AjaxNot available
Adds a new separator into a menu. To insert a separator at a specific location, use MenuInsertSeparator.
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
// Adds a new menu
MenuAddMenu(MENU_MyMenu, "OPT_Schedule", "Schedule")
// Adds an option into the new menu
MenuAddOption("OPT_Schedule", "OPT_Create", "Create", Create_Schedule)
// Associates an image with the menu option
{"OPT_Create", indControl}..Image = "schedule.png"
// Adds a separator
MenuAddSeparator("OPT_Schedule")
// Adds a new option
MenuAddOption("OPT_Schedule", "OPT_View", "View", View_schedule)
Syntax
<Result> = MenuAddSeparator(<Name of Initial Menu>)
<Result>: Integer
Position of the separator in the menu. A fatal error occurs if the separator was not added.
<Name of Initial Menu>: Character string (with or without quotes)
Name of the menu where the separator must be added. The separator will be added at the end of this 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 14
This page is also available for…
Comments
Click [Add] to post a comment