Difference between revisions of "ListBoxRow.ColumnTypeAt"

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 Type of the column (whose index is passed) from a [[ListBoxRow]]. }}
+
|text = Gets the Type 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.ColumnTypeAt(4) = ListBox.CellTypes.CheckBox
+
Var theType As ListBox.CellTypes
 +
theType = row.ColumnTypeAt(4)
 
</rbcode>
 
</rbcode>

Latest revision as of 14:24, 10 December 2019

Method

ListBoxRow.ColumnTypeAt(Column as Integer) As ListBox.CellTypes

New in 2019r3

Supported for all project types and targets.

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

Sample Code

In this example, row is a ListBoxRow:

Var theType As ListBox.CellTypes
theType = row.ColumnTypeAt(4)