ListBox.EnableDragReorder
From Xojo Documentation
This item was deprecated in version 2019r2. Please use ListBox.AllowRowReordering as a replacement. |
Property (As Boolean )
aListBox.EnableDragReorder = newBooleanValue
or
BooleanValue = aListBox.EnableDragReorder
Supported for all project types and targets.
or
BooleanValue = aListBox.EnableDragReorder
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 hierarchical ListBox. Setting this property to True has no effect on a hierarchical ListBox. |
Example
This example enables the drag reorder feature.