WebListBox.InsertRow

From Xojo Documentation

Method

WebListBox.InsertRow(Index As Integer, ParamArray Data As String)

New in 2010r4

Supported for all project types and targets.

Inserts a new row into the WebListbox at the position indicated by Index. Index is zero-based.

Notes

The Insert method allows you to pass in multiple strings as separate parameters. Each parameter will be placed into its corresponding column in the new row, starting with the first column.

Example

The following line inserts the first row into a 2-column WebListBox.

ListBox1.InsertRow(0, "Harry", "Smith")

To insert a row at the end of the ListBox:

ListBox1.InsertRow(ListBox1.RowCount, "Harry", "Smith")