Difference between revisions of "ListBoxRow.ColumnTagAt"

From Xojo Documentation

(Created page with "N/A")
 
(Sample Code)
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
N/A
+
{{MethodBox
 +
| name=ColumnTagAt
 +
| owner=[[ListBoxRow]]
 +
| ownertype=class
 +
| scope=public
 +
| parameters=Column as [[Integer]]
 +
| returntype=[[Variant]]
 +
| platform=all
 +
| newinversion=2019r3
 +
}}
 +
{{Description
 +
|text = Gets the ColumnTag for a column (whose index was passed) from a [[ListBoxRow]]. }}
 +
 
 +
== Sample Code ==
 +
In this example, ''row'' is a [[ListBoxRow]]:
 +
<rbcode>
 +
Var taxable As Boolean
 +
If row.ColumnTagAt(4) = "Taxable" Then taxable = True
 +
</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