Drag N Drop question..

Just starting out? Need help? Post your questions and find answers here.
User avatar
blueb
Addict
Addict
Posts: 1118
Joined: Sat Apr 26, 2003 2:15 pm
Location: Cuernavaca, Mexico

Drag N Drop question..

Post by blueb »

I have a form with multiple buttons.

I want to allow the user to move these buttons the way they see fit (e.g. alphabetically)

While I can create the Drag'N'Drop procedure... how can I assure that the user moves the
button into a pre-defined 'slot', so that the ending form looks correct and professional?

Possibly a hidden grid, so that when the user drags the button to a new location it snaps into place?

I doubt if there are any examples, but any assistance would help

TIA
- It was too lonely at the top.

System : PB 6.21(x64) and Win 11 Pro (x64)
Hardware: AMD Ryzen 9 5900X w/64 gigs Ram, AMD RX 6950 XT Graphics w/16gigs Mem