WebPopupMenu.InsertRow

From Xojo Documentation

Method

WebPopupMenu.InsertRow(Index As Integer, NewValue As String)

Supported for all project types and targets.

Inserts NewValue into the of the list of items at the position denoted by Index. The other items after the insert are shifted down. The list is zero-based.

Examples

Adds a new row at the top of the popup menu:

PopupMenu1.InsertRow(0, "Item 1")