WebListBox.List

From Xojo Documentation

Property (As String )
aWebListBox.List(Row as Integer) = newStringValue
or
StringValue = aWebListBox.List(Row as Integer)

New in 2010r4

Supported for all project types and targets.

The list of items.

Notes

List takes one parameter, the row index. The first row is numbered zero. Use it to get or set the contents of that cell, or, in multi-column WebListBoxes, the contents of the first column.

Example

This example writes to the first cell:

ListBox1.List(0) = "First Cell"

This code in the DoubleClick event handler displays the value of the first cell:

If Me.ListIndex >= 0 Then
MessageBox(Me.List(Me.ListIndex))
End If