WebMenuItem.Constructor()

From Xojo Documentation

Constructor


WebMenuItem.Constructor()

Creates an empty WebMenuItem.

Sample Code

This code populates a contextual menu:

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