Difference between revisions of "ListBoxRow.ColumnTagAt"

From Xojo Documentation

(Sample Code)
 
(One intermediate revision by one other user not shown)
Line 10: Line 10:
 
}}
 
}}
 
{{Description
 
{{Description
|text = Gets and sets the ColumnTag for a column (whose index was passed) from a [[ListBoxRow]]. }}
+
|text = Gets the ColumnTag for a column (whose index was passed) from a [[ListBoxRow]]. }}
  
 
== Sample Code ==
 
== Sample Code ==
 
In this example, ''row'' is a [[ListBoxRow]]:
 
In this example, ''row'' is a [[ListBoxRow]]:
 
<rbcode>
 
<rbcode>
  row.ColumnTagAt(4) = "Taxable"
+
  Var taxable As Boolean
 +
If row.ColumnTagAt(4) = "Taxable" Then taxable = True
 
</rbcode>
 
</rbcode>

Latest revision as of 14:23, 10 December 2019

Method

ListBoxRow.ColumnTagAt(Column as Integer) As Variant

New in 2019r3

Supported for all project types and targets.

Gets the ColumnTag for a column (whose index was passed) from a ListBoxRow.

Sample Code

In this example, row is a ListBoxRow:

Var taxable As Boolean
If row.ColumnTagAt(4) = "Taxable" Then taxable = True