From Xojo Documentation

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

Property (As Boolean )
aDesktopListBox.AllowRowReordering = newBooleanValue
BooleanValue = aDesktopListBox.AllowRowReordering

New in 2021r3

Supported for all project types and targets.

If True, you can reorder rows within the DesktopListBox by dragging rows.


An insertion line indicator appears when dragging within the DesktopListBox 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.


This example enables the drag reorder feature.

Me.AllowRowReordering = True