Search:

Type: Posts; User: sanjam58

Search: Search took 0.08 seconds.

  1. Re: Help me calculate which element of the grid the mouse was in when it was clicked.

    Thank you very much... your suggestion really helped me out... ^:)^
  2. Re: Help me calculate which element of the grid the mouse was in when it was clicked.

    Can you help me figure out which part of my Arithmetic is faulty and suggestion to get it right because am really stuck in this problem though-out the day.
    (Reference for assumming rows (x-axis)...
  3. Re: Help me calculate which element of the grid the mouse was in when it was clicked.

    I am also new to co-ordinates and I am assuming rows (x-axis) and columns (y-axis)

    Output on each square on top row (left to right)
    (0,0)
    (0,1)
    (0,1)
    (0,2)
    (0,3)
    (0,3)
    (0,4)
  4. Re: Help me calculate which element of the grid the mouse was in when it was clicked.

    According to my program, I have made a grid which consists of 5 columns and 7 rows.. when I click on the top right element it gives me output 0,4 which is wrong...because it is on row no.6 and...
  5. Help me calculate which element of the grid the mouse was in when it was clicked.

    For example, if the user clicks in the top-left element, program could print out, on the console, "Mouse" clicked in element 0,0". So far this is what I have done. the program compiles but most of...
Results 1 to 5 of 5