PopupMenu.InsertRow

From Xojo Documentation

Method

PopupMenu.InsertRow(RowNumber as Integer, Item as String)

Supported for all project types and targets.

Creates a new row at RowNumber (moving the existing rows after the insert down). The first row is numbered 0.

Example

The following example inserts a row.

ComboBox1.InsertRow(3,"Harry")