Difference between revisions of "WebListBox.AddRowAt"

From Xojo Documentation

 
Line 2: Line 2:
 
| name=AddRowAt
 
| name=AddRowAt
 
| owner=[[WebListBox]]
 
| owner=[[WebListBox]]
 +
| ownertype = class
 
| parameters=index As [[Integer]], items() As [[String]]
 
| parameters=index As [[Integer]], items() As [[String]]
 
| newinversion=2020r1
 
| newinversion=2020r1

Latest revision as of 20:57, 21 January 2022

Method

AddRowAt(index As Integer, items() As String)

New in 2020r1

Supported for all project types and targets.

Creates a new row at the index passed, filling the columns with the items passed.

Sample Code

This example inserts a row at index 4 into a WebListbox and populates columns 0 and 1:

Listbox1.AddRowAt(4, "Trixie", "10")

See Also

AddRow and RemoveRowAt methods.