Hi Dave, On Tuesday April 13 2010 16:50:06 Dave Baggett wrote: > I have a recurring background event that I want to make aware of whether a > mouse button is pressed. Specifically, I want this event to stop doing > anything whenever the user is dragging to select text. > > Is there any way to do this? I found this post: > > > http://stackoverflow.com/questions/322378/javascript-check-if-mouse-button- > down/322827 > > Is this the approach that one should take when using QooxDoo as well, or is > there some nicer way to do this? You can use the "isLeftPressed" / "isRightPressed" / "isMiddlePressed" methods of the mouse event instance.
http://demo.qooxdoo.org/current/apiviewer/index.html#qx.event.type.Mouse~isLeftPressed Is this solving your problem? cheers, Alex ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
