ListBox.Expanded
From Xojo Documentation
This item was deprecated in version 2019r2. Please use ListBox.RowExpandedAt as a replacement. |
Property (As Boolean )
aListBox.Expanded(row as Integer) = newBooleanValue
or
BooleanValue = aListBox.Expanded(row as Integer)
Supported for all project types and targets.
or
BooleanValue = aListBox.Expanded(row as Integer)
Supported for all project types and targets.
Used to get or set the expanded state of the row passed.
Notes
The row must have been added with the AddFolder method.
Example
This example expands the first row of ListBox1 (if it is collapsed) or collapses it (if it was expanded). The row must have been added with the AddFolder method:
ListBox1.Expanded(1) = Not ListBox1.Expanded(1)