ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Controls, pages and windows / Menu functions
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
MenuInsertSeparator (Function)
In french: MenuInsèreSéparateur
Inserts a separator into a menu. To insert a separator at the end of menu, use MenuAddSeparator.
Example
// Add a new menu
MenuAddMenu(_Menu, "MNU_Schedule", "Schedule")
// Add options into the new menu
MenuAddOption("MNU_Schedule", "MNU_Create", "Create", Create_Schedule)
MenuAddOption("MNU_Schedule", "MNU_View", "View", View_schedule)
// Insert a separator
MenuInsertSeparator("MNU_Schedule", "MNU_Create")
Syntax

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

MenuInsertSeparator(<Source menu> , <Insertion option>)
<Source menu>: Menu name
Name of the menu where the separator must be inserted.
<Insertion option>: Character string
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(<Source menu> , <Subscript>)
<Source menu>: Menu name
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.
Component: wd290obj.dll
Minimum version required
  • Version 14
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 04/06/2023

Send a report | Local help