Drag Over
I would like to make an drag-over style change. When I drag an element over another element the element changes it style.
For now I've made an event:
When panel_1x =panel_2x & panel_1y =panel_2y > change style
It works however only when I drag the element exactly onto the same X&Y point.
Is there a way to achieve this when the object area's overlap?
Files:
DragOver.vp.zip
Dear Sil,
The following example should help. Kindly let me know how it goes.
Best,
Sonia Durán
Dear Sil,
The following example should help. Kindly let me know how it goes.
Best,
Sonia Durán
Hi Sonia,
Thanks for the input. However, this example changes the style when you end the drag.
I would like to change the style while I'm dragging. So kind of a mouse-over but with an object.
I'm making a drop-container, which should give me feedback when I can let go of the drag.
I found this example in an old post.
Hi Sonia,
Thanks for the input. However, this example changes the style when you end the drag.
I would like to change the style while I'm dragging. So kind of a mouse-over but with an object.
I'm making a drop-container, which should give me feedback when I can let go of the drag.
I found this example in an old post.
Hi Sil,
Then you just need to change the target at the "On drag end" event (The small square instead the big square).
Best,
Sonia Durán
Hi Sil,
Then you just need to change the target at the "On drag end" event (The small square instead the big square).
Best,
Sonia Durán
Replies have been locked on this page!