PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
This content has been translated automatically. Click here to view the French version.
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>.AddSeparator (Function)
In french: <Menu>.AjouteSéparateur
AjaxNot available
Adds a new separator into a menu. To insert a separator at a specific location, use <Menu>.InsertSeparator.
Versions 16 and later
PHP This function is now available for PHP sites.
WINDEVLinux This function is now available for WINDEV applications in Linux.
New in version 16
PHP This function is now available for PHP sites.
WINDEVLinux This function is now available for WINDEV applications in Linux.
PHP This function is now available for PHP sites.
WINDEVLinux This function is now available for WINDEV applications in Linux.
Example
// Ajoute un nouveau menu
MENU_MonMenu.AjouteMenu("OPT_Planning", "Planning")
// Ajoute une option dans le nouveau menu
OPT_Planning.AjouteOption("OPT_Créer", "Créer", Créer_Planning)
// Associe une image à l'option de menu
{"OPT_Créer", indControl}..Image = "planning.png"
// Ajoute un séparateur
OPT_Planning.AjouteSéparateur()
// Ajoute une nouvelle option
OPT_Planning.AjouteOption("OPT_Voir", "Voir", Voir_planning)
Syntax
<Result> = <Source menu>.AddSeparator()
<Result>: entier
Position of the separator in the menu. A fatal error occurs if the separator was not added.
<Source menu>: Menu name
Name of the menu where the separator must be added. The separator will be added at the end of this menu.
Component: wd270obj.dll
Minimum version required
  • Version 23
This page is also available for…
Comments
Click [Add] to post a comment