From: francesco A. <fa...@we...> - 2001-01-23 14:59:48
|
I think that the coordinate x adn y of the layer are calculated no good = because are wrong the coordinate of hte parent layer ----- Original Message -----=20 From: Michael Pemberton=20 To: dyn...@li...=20 Sent: Tuesday, January 23, 2001 3:33 PM Subject: Re: [Dynapi-Dev] Dragging and Cancelling i used a statusbar message to test if the coords were correct. It = only seems to be that the event is not being cancelled correctly. I'll = keep looking into it. I may be able to stop the actual mouse click that = starts the dragging for reaching the drag listener.=20 francesco AGATI wrote:=20 I have see that the DragEvent.setDragBoundary not function correctly = when i limitthe area of dragging and when the layer draggable is into = another layer When i try to drag this layer the coord x and y of the = layer are crazy... francesco=20 ----- Original Message ----- From: Michael Pemberton To: dyn...@li... Sent: Tuesday, January 23, 2001 2:06 PM Subject: [Dynapi-Dev] Dragging and Cancelling The cancelDrag method of the drag event doesn't seem to do = anything. Does anyone have a working example of it in action?=20 I am trying to limit dragging to only a section of a layer ( so = that sragging can only happen if they click in a specific section of the = layer). I tried placing a e.cancelDrag() call in the dragstart = eventlistener but that didn't help. Is there a simple way of setting up = a handle type setup for dragging a layer?=20 --=20 Michael Pemberton=20 mp...@ph...=20 ICQ: 12107010=20 _______________________________________________ Dynapi-Dev = mailing list Dyn...@li... = http://lists.sourceforge.net/lists/listinfo/dynapi-dev _______________________________________________ Dynapi-Dev mailing = list Dyn...@li... = http://lists.sourceforge.net/lists/listinfo/dynapi-dev |