Difference between revisions of "PopupMenu.AddRowAt"

From Xojo Documentation

 
Line 18: Line 18:
 
ComboBox1.AddRowAt(3,"Harry")
 
ComboBox1.AddRowAt(3,"Harry")
 
</rbcode>
 
</rbcode>
 +
 +
[[Category:API 2.0]]

Latest revision as of 17:31, 7 October 2019

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