ListBoxRow.Tag

From Xojo Documentation

Revision as of 14:33, 18 December 2019 by PLefebvre (talk | contribs)

Read-Only Property (As Variant )
VariantValue = aListBoxRow.Tag

New in 2019r3

Supported for all project types and targets.

Gets or sets the tag of the current row.

Examples

This example places all the rows in the ListBox named "LineItems" with a Tag value of "taxable" into an array:

Var taxableLineItems() As ListBoxRow
For Each row As ListBoxRow in LineItems.Rows
If row.Tag = "Taxable" Then
taxableLineItems.AddRow(row)
End If
Next