WebMenuItem.Constructor()

From Xojo Documentation

Revision as of 19:18, 2 August 2019 by Gperlman (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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