Page 1 of 1

Drag and drop Tiles

Posted: Thu Dec 15, 2011 12:11 am
by nlexa
DragNDrop.zip
(1.55 KiB) Downloaded 225 times
I've made this wee program. You can double click on each tile and type some text, hit enter/return to exit typing. You can click and drag the tiles over the other tiles and they will shuffle.
Under normal conditions it works fairly well BUT:

If you grab a tile and start dragging it around really fast like a madman and finally release it strange things start happening.
If you drag and drop a lot of tiles in very rapid succession it also behaves not the way I intended.
Nothing should break the initial setup formation but it does if you go crazy on it.

I really like what I have so far I just need to make it idiot proof. Why/how does it behave like this? It's like it didn't get the message that I've stopped dragging the tile (field) and the fields keep sliding around when I mouse over them.

Any feedback will be appreciated.