WebMenuItem.Constructor(Text as String, Tag as Variant)

From Xojo Documentation

Constructor


WebMenuItem.Constructor(Text As String, Tag As Variant)

Creates a new WebMenuItem with the passed Text and Tag.

Example

Create a new menu item with a tag:

Dim base As New WebMenuItem("Load", "tag value")