Re: [qooxdoo-devel] Mouse position

2010-02-01 Thread A. Weber (Penplan)
Dear Jean-Baptiste, merci beaucoup for your help - now it works fine! Best regards, A. Weber Penplan Consulting GmbH Jean-Baptiste BRIAUD -- Novlog wrote: > > did you try to get the event from the event listener ? > > myLabel.addListener("click", function(e) { > alert(e.getScreenLeft()); }

Re: [qooxdoo-devel] Mouse position

2010-02-01 Thread Jean-Baptiste BRIAUD -- Novlog
did you try to get the event from the event listener ? myLabel.addListener("click", function(e) { alert(e.getScreenLeft()); }, this); Have a look to the API for the details but only on the logical point of view, you shouldn't have to instantiate the event yourself. In fact, how that event woul

[qooxdoo-devel] Mouse position

2010-02-01 Thread A. Weber
Sorry for bugging you with a presumably beginner's question (I know: "There are no stupid questions, just stupid people!" :-) ) but I can't figure out how to get the mouse coordinates. The code var myEvent = new qx.event.type.Mouse(); var myLabel = new qx.ui.basic.Label("TEST");

Re: [qooxdoo-devel] Mouse Position X,Y

2008-02-27 Thread thron7
8 20:27:18 -0500 > > From: [EMAIL PROTECTED] > > To: qooxdoo-devel@lists.sourceforge.net > > Subject: Re: [qooxdoo-devel] Mouse Position X,Y > > > > On Mon, Feb 25, 2008 at 4:57 PM, Nathan Taylor <[EMAIL PROTECTED]> wrote: > > > > > > Could so

Re: [qooxdoo-devel] Mouse Position X,Y

2008-02-25 Thread Derrell Lipman
On Mon, Feb 25, 2008 at 9:54 PM, Derrell Lipman <[EMAIL PROTECTED]> wrote: > On Mon, Feb 25, 2008 at 9:50 PM, Nathan Taylor <[EMAIL PROTECTED]> wrote: > > > > I need the position of the Mouse on the document body because I am trying > to > > spawn an object on the cursor. > > Ok. I think you

Re: [qooxdoo-devel] Mouse Position X,Y

2008-02-25 Thread Derrell Lipman
On Mon, Feb 25, 2008 at 9:50 PM, Nathan Taylor <[EMAIL PROTECTED]> wrote: > > I need the position of the Mouse on the document body because I am trying to > spawn an object on the cursor. Ok. I think you should be able to do this: var doc = qx.ui.core.ClientDocument.getInstance(); doc.addEve

Re: [qooxdoo-devel] Mouse Position X,Y

2008-02-25 Thread Nathan Taylor
I need the position of the Mouse on the document body because I am trying to spawn an object on the cursor. Thank you, Nathan > Date: Mon, 25 Feb 2008 20:27:18 -0500 > From: [EMAIL PROTECTED] > To: qooxdoo-devel@lists.sourceforge.net > Subject: Re: [qooxdoo-devel] Mouse Position

Re: [qooxdoo-devel] Mouse Position X,Y

2008-02-25 Thread Derrell Lipman
On Mon, Feb 25, 2008 at 4:57 PM, Nathan Taylor <[EMAIL PROTECTED]> wrote: > > Could someone please tell me the quickest way to get the X,Y coordinates of > my mouse? I know the MouseEvent getPageX() and getPageY() exposes this > information, but I am unsure how to get a MouseEvent from the document

[qooxdoo-devel] Mouse Position

2008-02-25 Thread Nathan Taylor
Hello, Could someone please tell me the quickest way to get the X,Y coordinates of my mouse? I know the MouseEvent getPageX() and getPageY() exposes this information, but I am unsure how to get a MouseEvent from the document. Thanks, Nathan Taylor-

[qooxdoo-devel] Mouse Position X,Y

2008-02-25 Thread Nathan Taylor
Hello, Could someone please tell me the quickest way to get the X,Y coordinates of my mouse? I know the MouseEvent getPageX() and getPageY() exposes this information, but I am unsure how to get a MouseEvent from the document. Thanks, Nathan Taylor ---

[qooxdoo-devel] Mouse Position X,Y

2008-02-25 Thread Nathan Taylor
Hello, Could someone please tell me the quickest way to get the X,Y coordinates of my mouse? I know the MouseEvent getPageX() and getPageY() exposes this information, but I am unsure how to get a MouseEvent from the document. Thanks, Nathan Taylor ---