WebMenuItem.AddMenuItemAt

From Xojo Documentation

Method

WebMenuItem.AddMenuItemAt(index As Integer, value As String)

New in 2020r1

Supported for all project types and targets.

Adds the value passed as a new menu item at the index passed.