WebListBox.SelectedRowIndex

From Xojo Documentation

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

Property (As Integer )
aWebListBox.SelectedRowIndex = newIntegerValue
or
IntegerValue = aWebListBox.SelectedRowIndex

New in 2020r1

Supported for all project types and targets.

The index of the selected row.

Notes

If no row is selected SelectedRowIndex will be -1. If multiple rows are selected, SelectedRowIndex will be the index of the first selected row.

If the RowSelectionType is Multiple, you can use the Selected method to determine which rows are selected.

See Also

RowSelectionType property and Selected Method.