ListBoxRow.Columns

From Xojo Documentation

Method

ListBoxRow.Columns() As ListBoxColumn

New in 2019r3

Supported for all project types and targets.

Returns a ListBoxColumn which can be used to iterate through the columns of a ListBoxRow.

Example

The following example iterates through all the rows of ListBox1 adding any rows where any column is blank to the rowsWithMissingValues array:

Var rowsWithMissingValues() As ListBoxRow
For Each row as ListBoxRow In ListBox1.Rows
For Each column As ListBoxColumn In row.Columns
If column.Value = "" Then
rowsWithMissingValues.AddRow(row)
Exit
End If
Next
Next