Difference between revisions of "ListBoxRow.ColumnValueAt"

From Xojo Documentation

(Created page with "N/A")
 
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
N/A
+
{{MethodBox
 +
| name=ColumnValueAt
 +
| owner=[[ListBoxRow]]
 +
| ownertype=class
 +
| scope=public
 +
| parameters=Column as [[Integer]]
 +
| returntype=[[String]]
 +
| platform=all
 +
| newinversion=2019r3
 +
}}
 +
{{Description
 +
|text = Gets the Value of the column (whose index is passed) from a [[ListBoxRow]]. }}
 +
 
 +
== Sample Code ==
 +
In this example, ''row'' is a [[ListBoxRow]]:
 +
<rbcode>
 +
If row.ColumnValueAt(4) = "Taxable" Then
 +
  MessageBox("This transaction is taxable.")
 +
End If
 +
</rbcode>

Latest revision as of 19:35, 3 December 2019

Method

ListBoxRow.ColumnValueAt(Column as Integer) As String

New in 2019r3

Supported for all project types and targets.

Gets the Value of the column (whose index is passed) from a ListBoxRow.

Sample Code

In this example, row is a ListBoxRow:

If row.ColumnValueAt(4) = "Taxable" Then
MessageBox("This transaction is taxable.")
End If