×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    Feb 2010
    Location
    Bristol, UK
    Posts
    5

    coordinates of click

    Hi,

    I'd like to find out the (x,y) position from a click, mousedown event or similar.
    Please can someone let me know which event to listen to and which event properties to check for x and y?

    The events and properties I have tried do not seem to work (though they will work fine from a standard browser).

    Thanks in advance!

  2. #2
    Registered User
    Join Date
    Aug 2009
    Posts
    4

    Re: coordinates of click

    Hi,
    Please take a look at the following wiki topic : http://wiki.forum.nokia.com/index.ph...nd-drop_in_WRT. I guess it contains all the information you need.

    Cheers,
    Jo

  3. #3
    Registered User
    Join Date
    Feb 2010
    Location
    Bristol, UK
    Posts
    5

    Re: coordinates of click

    Thanks. Tracking the "mouse" position with mouse move works a treat :-)

  4. #4
    Registered User
    Join Date
    Feb 2010
    Location
    Bristol, UK
    Posts
    5

    Re: coordinates of click

    FYI, for anyone else in a similar situation, only the following coordinate properties seem to be available: pageX, pageY, clientX, clientY, screenX, screenY.

    x, y, offsetX, offsetY don't seem to be available.

  5. #5
    Nokia Developer Champion
    Join Date
    Nov 2007
    Location
    Rome, Italy
    Posts
    2,406

    Re: coordinates of click

    Hi craigmcdonnell,

    out of curiosity: did you manage to implement continuous touch tracking (so, something like drag'n'drop), or are you getting the coordinates of a single click?

    Pit

Similar Threads

  1. Get gps coordinates
    By bonfo in forum Mobile Java Networking & Messaging & Security
    Replies: 19
    Last Post: 2012-01-03, 07:39
  2. joystick righ click and left click and right menu option
    By omoshtagh in forum Mobile Java General
    Replies: 3
    Last Post: 2009-03-18, 08:56
  3. Getting GPS coordinates
    By xotonium in forum Mobile Web Server
    Replies: 12
    Last Post: 2008-05-06, 06:23
  4. Object Coordinates
    By pronob in forum Mobile Java General
    Replies: 0
    Last Post: 2005-03-22, 08:40

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×