3 Replies Latest reply on Apr 3, 2009 10:31 AM by Gregory Lafrance

    Controlling appearance of 'dropped' component

      Hi, I have an application which has custom components which are dragged and dropped on to a custom 'canvas' component to build up a user designed page. The components that are dragged have functionality which should only be visible/available after they have been dropped onto the 'canvas'.

      Currently I use the dragDrop event of the 'canvas' component to control the appearance of the dropped components. This works but means that the dropped components and the 'canvas' are tightly coupled because the 'canvas' needs to know about the dropped components to change their display. What I would like to do is to have each of the dropped components control their own appearance by changing when they are dropped onto the canvas. Is it possible to do this, and if so which event should I use? Bearing in mind I'm a total newbie, so words of few syllables please!