DesktopListBox.RowExpanded

From Xojo Documentation

You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!
Event


DesktopListBox.RowExpanded(Row as Integer)

New in 2021r3

Supported for all project types and targets.

The user has clicked on the disclosure triangle, or the RowExpandedAt method was called, for a collapsed row that was added using AddExpandableRow.

Notes

The rows are not persisted when the folder is later collapsed. Use the RowExpanded event handler to re-add rows as necessary.

Example

This code adds children to the expanded row:

For childRow As Integer = 0 To 5
Me.AddRow("Child " + childRow.ToString + " of row " + Me.CellTextAt(row, 0))
Next