Skip to main content
Participating Frequently
February 11, 2014
Question

Drag and Drop

  • February 11, 2014
  • 1 reply
  • 214 views

Hi, I would like to create a drag and drop in C7 in which the drop areas chage their state once a darggable is dropped onto them. Specifically I have an image of a empty bin which i want to change to a full bin once a correct option is dropped on top of it. Possible?

    This topic has been closed for replies.

    1 reply

    Lilybiri
    Legend
    February 11, 2014

    Hello and welcome to the forum,

    You could use the action that is associated with a drag operation to show a previously hidden duplicate of the drop area that looks different to simulate a 'state'. Actions can be found under the Accept button in the Drop Target properties for a drop area (officially called a drop target).

    In this snapshot you see that when the 'DragHang' is dropped on this target, a Shared action is executed. It can also be an advanced action, that shows the hidden object. Do not use a simple action like 'Hide' if you have more than one drag operation because a simple action releases the playhead.

    http://blog.lilybiri.com/why-choose-standard-over-simple-action

    Lilybiri