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
MenuInsertSeparator (Function)
In French: MenuInsèreSéparateur
Inserts a separator into a menu. To insert a separator at the end of menu, use MenuAddSeparator.
Versions 16 and later
WINDEVLinux This function is now available for the WINDEV applications in Linux.
New in version 16
WINDEVLinux This function is now available for the WINDEV applications in Linux.
WINDEVLinux This function is now available for the WINDEV applications in Linux.
Example
// Adds a new menu
MenuAddMenu(_Menu, "MNU_Schedule", "Schedule")
// Adds options into the new menu
MenuAddOption("MNU_Schedule", "MNU_Create", "Create", Create_Schedule)
MenuAddOption("MNU_Schedule", "MNU_View", "View", View_schedule)
// Inserts a separator
MenuInsertSeparator("MNU_Schedule", "MNU_Create")
Syntax

Inserting a separator (position defined by a name of menu option) Hide the details

MenuInsertSeparator(<Name of Initial Menu> , <Name of Insertion Option>)
<Name of Initial Menu>: Character string (with or without quotes)
Name of the menu where the separator must be inserted.
<Name of Insertion Option>: Character string (with or without quotes)
Name of the menu option used as base position for the insertion. The new separator will be inserted before this position.

Inserting a separator (position defined by a subscript) Hide the details

MenuInsertSeparator(<Name of Initial Menu> , <Subscript>)
<Name of Initial Menu>: Character string (with or without quotes)
Name of the menu where the separator must be inserted.
<Subscript>: Integer
Subscript of the menu option used as base position for the insertion. The new separator will be inserted before this position.
Components
WINDEVReports and Queries wd230obj.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