|
I think that you must use the cancelDrag at the
event onDragStart
handleListener.ondragstart=function(e)
{ DragEvent.cancelDrag() }
with me the function don't see the
cancelDrag
try it
i have see a little the
code
appear that the dragmove is called after that the
layer is be moved
so the cancelDrag don't function
I think....
Hi
Francesco
----- Original Message -----
Sent: Thursday, January 25, 2001 1:56
PM
Subject: Re: [Dynapi-Dev] Dragging and
Cancelling
Thanks for all the help, but that still doesn't solve my
problem. I want to have a scetion of a layer used as a handle. It
should be a simple case of detecting the location of the mouse and allowing
the click if it is within the specified region.
I want to reduce the # of additional layers. Especially when there
are already too many being used in my widgets to begin with. My problem
is that dragCancel seems to not have any effect on the drag. I can't
seem to cancel a drag event from being triggered.
Does anyone have an example of dragCancel being used successfully?
Richard Bennett wrote:
Hi,The beige bgcolor was a dead give-away I'm afraid
;o)Anyway, it's up with your
other masterpiece:http://www.resass.f2s.com/?menu=examples&node=8 Cheers, Richard Bennett [EMAIL PROTECTED]
www.richardinfo.com
(Everything running on, and ported to the
19/12/2000 snapshot of DynAPI2)
----- Original Message -----
Sent: Tuesday, January 23, 2001 5:24
PM
Subject: Re: [Dynapi-Dev] Dragging
and Cancelling Here's a handle I
use.
----- Original Message -----
Sent: Tuesday, January 23, 2001
8:06 AM
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?
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?
-- Michael Pemberton [EMAIL PROTECTED] ICQ: 12107010
_______________________________________________ Dynapi-Dev
mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/dynapi-dev
-- Michael Pemberton [EMAIL PROTECTED] ICQ: 12107010
_______________________________________________ Dynapi-Dev mailing
list [EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-dev
|