Difference between revisions of "ListBoxRow.ColumnValueAt"

From Xojo Documentation

 
Line 10: Line 10:
 
}}
 
}}
 
{{Description
 
{{Description
|text = Gets and sets the Value of the column (whose index is passed) from a [[ListBoxRow]]. }}
+
|text = Gets the Value of the column (whose index is 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.ColumnValueAt(4) = "Taxable"
+
  If row.ColumnValueAt(4) = "Taxable" Then
 +
  MessageBox("This transaction is taxable.")
 +
End If
 
</rbcode>
 
</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