<div class="meta" robots="noindex">

</div>

# ListBox.EnableDragReorder

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

<div class="warning">

<div class="title">

Warning

</div>

This item was deprecated in version 2019r2. Please use `DesktopListBox.AllowRowReordering<desktoplistbox.allowrowreordering>` as a replacement.

</div>

## Description

If `True</api/language/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. .. note:: You cannot drag rows on a hierarchical ListBox. Setting this property to True has no effect on a hierarchical ListBox.

## Sample code

This example enables the drag reorder feature.

``` xojo
Me.EnableDragReorder = True
```

## Compatibility

All projects types on all supported operating systems.
