From: Michael P. <mp...@ph...> - 2001-01-23 14:29:07
|
<!doctype html public "-//w3c//dtd html 4.0 transitional//en"> <html> <body bgcolor="#FFFFFF"> 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. <p>francesco AGATI wrote: <blockquote TYPE=CITE><style></style> <font face="Arial"><font size=-1>I have see that the DragEvent.setDragBoundary not function correctly when i limit</font></font><font face="Arial"><font size=-1>the area of dragging and when the layer draggable is into another layer</font></font> <font face="Arial"><font size=-1>When i try to drag this layer the coord x and y of the layer are crazy...</font></font> <font face="Arial"><font size=-1>francesco</font></font> <blockquote dir=ltr style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px"> <div style="FONT: 10pt arial">----- Original Message -----</div> <div style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><b>From:</b> <a href="mailto:mp...@ph..." title="mp...@ph...">Michael Pemberton</a></div> <div style="FONT: 10pt arial"><b>To:</b> <a href="mailto:dyn...@li..." title="dyn...@li...">dyn...@li...</a></div> <div style="FONT: 10pt arial"><b>Sent:</b> Tuesday, January 23, 2001 2:06 PM</div> <div style="FONT: 10pt arial"><b>Subject:</b> [Dynapi-Dev] Dragging and Cancelling</div> The cancelDrag method of the drag event doesn't seem to do anything. Does anyone have a working example of it in action? <p>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 <tt>e.cancelDrag()</tt> 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? <p>-- <br>Michael Pemberton <br>mp...@ph... <br>ICQ: 12107010 <br> _______________________________________________ Dynapi-Dev mailing list Dyn...@li... <A HREF="http://lists.sourceforge.net/lists/listinfo/dynapi-dev">http://lists.sourceforge.net/lists/listinfo/dynapi-dev</A></blockquote> </blockquote> </body> </html> |