ListBox.Rows

From Xojo Documentation


Method

ListBox.Rows() As ListBoxRow

New in 2019r3

Supported for all project types and targets.

Allows you to iterate through all the rows in a ListBox.

Examples

In this example, the Tag of each row is examined and if it's found to be "Taxable", the ComputeTaxes method is called and passed the value of the row.

For Each row As ListBoxRow In ListBox1.Rows
If row.Tag = "Taxable" then ComputeTaxes(row.ColumnValueAt(0))
Next