1 Reply Latest reply on Jun 22, 2010 10:21 AM by prodigy1485

    Create new instance (copy) of button during drag&drop


      Hi All,


      I am unable to implement one of the functionalities relating to drag-and-drop. I have a button, which is draggable on to a grid/canvas. I do not want the button to move, just create an instance of it on-the-fly and make it appear on the canvas/grid, and also retain the original button at the source.


      The problem with creating an instance during mouseMove or dragDrop (event capture functions) is that they get created all the time, even when the button is dragged and dropped elsewhere.


      Note: I tried using List/DG to do this, and was not successful there. Also, there was a similar post 3 years back, which is still lying unanswered.