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()); }
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
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");
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
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
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
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
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
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-
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
---
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
---
11 matches
Mail list logo