Page 1 of 1
Example of dragging and dropping objects between groups
Posted: Thu Apr 18, 2019 9:24 am
by micmac
Hi there
Here is a stack that shows a way to DaD objects between groups
Mic
Re: Example of dragging and dropping objects between groups
Posted: Sat Apr 20, 2019 2:35 pm
by [-hh]
This is a fine solution!
Re: Example of dragging and dropping objects between groups
Posted: Sat Apr 20, 2019 4:03 pm
by bogs
I agree, very nicely done.
Re: Example of dragging and dropping objects between groups
Posted: Sat Apr 20, 2019 6:48 pm
by jmburnod
Work fine here
Thanks for sharing
Jean-Marc
Re: Example of dragging and dropping objects between groups
Posted: Sat Apr 20, 2019 6:58 pm
by Klaus
Pretty cool!
The first example where I see
relayergroupedcontrols "in action"
and it definitively makes sense now to me!

Re: Example of dragging and dropping objects between groups
Posted: Sun Apr 21, 2019 9:44 am
by micmac
The...
else
set layer of me to top
...part of the mouseUp handler can be deleted, since it is already done in the mouseDown handler.
Mic
Edit: this might be wrong, but I can't delete the post
Mic
Re: Example of dragging and dropping objects between groups
Posted: Sun Apr 21, 2019 10:50 am
by bogs
No, I think past a certain amount of time, you can only edit the posts. I think the reasoning is, if you could do it at anytime, it would make certain threads disjointed.

- Delete button ... YES!

- Darn, too late to let this one go :/
Re: Example of dragging and dropping objects between groups
Posted: Sun Apr 21, 2019 4:21 pm
by SparkOut
I don't know whether there's a time limit. If the post is not the last one in the thread any more, it can't be deleted (except by a forum admin). As soon as there's a post after yours, it's only editable, and will show the edit count. (If the post is the last in the thread, I think you can edit without it being marked as edited.)
Re: Example of dragging and dropping objects between groups
Posted: Sun Apr 21, 2019 4:55 pm
by bogs
Nope, looks like you nailed it SparkOut, if someone posts after you, thats what eliminates it. Makes me wonder, why micmac couldn't delete the post (should have been able to).