ListBox.Rows

From Xojo Documentation

Revision as of 20:47, 3 December 2019 by Gperlman (talk | contribs)
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 ListBox.Rows In ListBox1
If row.Tag = "Taxable" then ComputeTaxes(row.Value)
Next