Illustrates Firemonkey Drag and Drop Between Listboxes/Edit Boxes
- Dowload anbd unzip or clone the repo.
- Open the project group in Delphi.
- Run the project.
- Enter some text in the edit box.
- Click on the edit box and drag it to the right listbox.
- Repeat a couple of times to populate the list with a few items.
- Click on a line in the right listbox.
- Drag the item to the left list box.
Some things to note.
- This is far from perfect and doesn't work between both list boxes. (That feature is left as a proof for the reader!)
- When you click on an item, you may have to hesitate to get the "start drag" to begin working.
- You may also have to click more than once on an item to get the "start drag" to begin working.
- Overall, Firemonkey's implementation is far from ideal, but it does seem to work.
- The only events used for drag and drop are a. Mouse Down b. Drag Over c. Drag Drop
No warranties. No promises. This is intended to be explorative in nature. Embarcadero's explanations are really bad and not very comprehensive. This tries to close that gap a bit.