|
I have try make an area of layer
draggable
are 3 layer (2 pushpanel and 1
scrollpane)
with each into a loadpanel
but the drag not function liniting the drag
area
----- Original Message -----
Sent: Tuesday, January 23, 2001 4:05
PM
Subject: Re: [Dynapi-Dev] Dragging and
Cancelling
the x and y values are relative to the layer that I want to
drag. However, I want to only allow the layer to be dragged if they
click in a particular section (such as a title bar). All the co-ords are
correct, I just need to find a way of stopping the drag from starting if the
mouse is outside my specified region.
francesco AGATI wrote:
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 -----
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.
francesco AGATI wrote:
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
----- Original Message -----
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?
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 _______________________________________________
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
|
experimentDragLayer.zip