AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Ayuda / WLanguage / Funciones WLanguage / Controles, páginas y ventanas / Funciones de menús
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>.InsertSeparator (Function)
In french: <Menu>.InsèreSéparateur
Inserts a separator into a menu. To insert a separator at the end of menu, use <Menu>.AddSeparator.
Example
// Add a new menu
_Menu.AddMenu("MNU_Schedule", "Schedule")
// Add options into the new menu
MNU_Schedule.AddOption("MNU_Create", "Create", Create_Schedule)
"MNU_Schedule".AddOption("MNU_View", "View", View_schedule)
// Insert a separator
MNU_Schedule.InsertSeparator("MNU_Create")
Syntax

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

<Source menu>.InsertSeparator(<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

<Source menu>.InsertSeparator(<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
Versión mínima requerida
  • Versión 23
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 19/06/2023

Señalar un error o enviar una sugerencia | Ayuda local