ListBox.AllowRowReordering
From Xojo Documentation
Property (As Boolean )
aListBox.AllowRowReordering = newBooleanValue
or
BooleanValue = aListBox.AllowRowReordering
New in 2019r2
Supported for all project types and targets.
or
BooleanValue = aListBox.AllowRowReordering
New in 2019r2
Supported for all project types and targets.
If True, you can reorder rows within the ListBox by dragging rows.
Notes
An insertion line indicator appears when dragging within the ListBox to provide you with visual feedback as to where the row would be dropped if you release the mouse button.
You cannot drag rows on a ListBox with expandable rows (hierarchical) and as a result, setting this property to True has no effect. |
Example
This example enables the drag reorder feature.