PopupMenu.AddRowAt
From Xojo Documentation
Method
PopupMenu.AddRowAt(RowNumber as Integer, Item as String)
New in 2019r2
Supported for all project types and targets.
New in 2019r2
Supported for all project types and targets.
Creates a new row at RowNumber (moving the existing rows down). The first row is numbered 0.
Example
The following example adds a row at the 4th position.
ComboBox1.AddRowAt(3,"Harry")