Difference between revisions of "ListBoxRow.Tag"

From Xojo Documentation

 
Line 10: Line 10:
 
}}
 
}}
 
{{Description
 
{{Description
|text = Gets or sets the tag of the current row.}}
+
|text = Gets the tag of the current row.}}
  
 
==Examples==
 
==Examples==

Latest revision as of 15:50, 18 December 2019

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

New in 2019r3

Supported for all project types and targets.

Gets 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