WebMenuItem.Constructor()

From Xojo Documentation

Constructor


WebMenuItem.Constructor()

New in 2011r2

Creates an empty WebMenuItem.

Sample Code

This code populates a contextual menu:

Var menu As New WebMenuItem
menu.Append(New WebMenuItem("One"))
menu.Append(New WebMenuItem("Two"))
menu.Append(New WebMenuItem("Three"))
Me.ContextualMenu = menu