From: Michael P. <mp...@ph...> - 2001-03-10 14:48:07
|
with my mouse event code, if the browserReturn value is false ( e.cancelBrowserEvent() ) the right menu is surpressed in both NS and IE. also, if the browserReturn is true, the menus will happen. This is all evaluated when each click is triggered. This way you can hide the menu in some places and allow it in others. if you've got ICQ, I can show you my current setup on my personal web server to see what can be done. Mark Goldin wrote: > >if by right popup you mean a right click menu or such, the answer is > yes.Will I be able to suppress a standard popup?Thanks Mark > > ----- Original Message ----- > From: Michael Pemberton > To: dyn...@li... > Sent: Saturday, March 10, 2001 8:29 AM > Subject: Re: [Dynapi-Widgetdev] Drag and Drop > if by right popup you mean a right click menu or such, the > answer is yes. > > as for dragging with altered click triggers (mouse click to > start, mouse click to end) you would need to alter the drag > code. the drop feature is simply and extension of dragging > and does not effect any drag code. > > there are still a few problems with the drag drop setup. > one is that the mouse event x & y values are not updated > when you start playing around with the object being > dragged. This should be solved but I don't think anyone is > working on it at the moment. > > Mark Goldin wrote: > > > Hi Michael,Thanks for quick help. I have two additional > > questions.1. Will I be able to implement right mouse ie5.5 > > popup object clicking on a dragable object?2. Move an > > object first cliking on it, then move without keeping > > mouse down, then clicking again to drop an object?Thanks, > > Mark > > > > ----- Original Message ----- > > From: Michael Pemberton > > To: dyn...@li... > > Sent: Saturday, March 10, 2001 7:53 AM > > Subject: Re: [Dynapi-Widgetdev] Drag and Drop > > checkout: > > > > http://freeshell.org/~afroapi/examples/afroapi/events/drag.html > > > > > > http://freeshell.org/~afroapi/examples/afroapi/events/dragdrop.html > > > > The code can be got from here: > > http://freeshell.org/~afroapi/afroapi.zip > > > > > > Mark Goldin wrote: > > > > > I need to develop an interface with drag and > > > drop functionality. I also need snap-on effect. > > > Can somebody point me to some examples I can > > > use to get started?Thanks Mark > > > > -- > > Michael Pemberton > > mp...@ph... > > ICQ: 12107010 > > > -- > Michael Pemberton > mp...@ph... > ICQ: 12107010 > > -- Michael Pemberton mp...@ph... ICQ: 12107010 |