A
A
Alex2020-04-10 02:46:32
.NET
Alex, 2020-04-10 02:46:32

How to implement a change in the order of controls inside in a FlowLayoutPanel?

There is a FlowLayoutPanel that has several Button controls lined up horizontally. How can I implement a change in their order using the mouse by dragging them among themselves. Those. if the latter is dragged to the left side to the previous controls, then they should, as it were, make room between themselves for the dragged control (button).
It turns out something like tabs in the browser, when you drag one tab to the left or right to change their order.
Is this even realistic or is it better to use a different container instead of a FlowLayoutPanel for this?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question