Author Topic: Enabling DragDrop mid-drag  (Read 3384 times)

Jeff3po

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 2
    • View Profile
Enabling DragDrop mid-drag
« on: July 31, 2014, 01:50:54 PM »
I'm trying to create a scrollview of elements that can be scrolled by dragging the list vertically. By monitoring the OnDrag, I enable the element's DragDrop component so he can peel off that element to drop it into a nearby Drag Drop Container.

I can make all of those things occur except when I activate the Drag Drop component, the OnDragStart doesn't fire. I guess the system is mid-touch, so the cloning process doesn't occur. The dragged object seems to fill in correctly, because I can drop the item into the container, but there's no visible clone while dragging.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Enabling DragDrop mid-drag
« Reply #1 on: August 01, 2014, 07:06:40 PM »
OnDragStart happens before OnDrag notifications begin, so that's why you aren't seeing it. You will need to SendMessage("OnDragStart") yourself if you're doing this logic manually.