PopupMenu.AddRowAt

From Xojo Documentation

Revision as of 17:31, 7 October 2019 by PLefebvre (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Method

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

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")