WebListBox.RemoveRow

From Xojo Documentation

Method

WebListBox.RemoveRow(Index as Integer)

Supported for all project types and targets.

Deletes the specified row. Index is zero-based.

Examples

The following code removes the first row.

ListBox1.RemoveRow(0)

To remove the currently selected row:

If ListBox1.ListIndex >= 0 Then
ListBox1.RemoveRow(ListBox1.ListIndex)
End If