WebListBox.AddRow

From Xojo Documentation

You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!
Method

WebListBox.AddRow(ParamArray Data As String)

New in 2010r4

Supported for all project types and targets.

Adds a new row to the WebListbox.

Notes

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

Example

Adds a new row to the Listbox, not populate it with any values:

ListBox1.AddRow("")

Adds a new row to the Listbox, populating the first column:

ListBox1.AddRow("Hello")

Adds a new row and populates the three columns in a three-column Listbox:

ListBox1.AddRow("Col1", "Col2", "Col3")

SeeAlso

AddRowAt and RemoveRowAt methods; DesktopListBox desktop control.