Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
A _MOUSEMOVEMENTX question
#10
(02-13-2024, 08:19 PM)bplus Wrote: Oh hey you aren't trying @NakedApe Big Grin


Do I win?  Big Grin Big Grin Big Grin

PS I guess _Mousemovement does work.

LOL, clearly I need to work harder! 

So if I use While _MouseInput: Wend and nothing inside that loop as you suggest, I get nada. See below. This displays two zeros wherever I put the mouse.

SCREEN _NEWIMAGE(1280, 720, 32)
DO
    CLS
    _LIMIT 30
    WHILE _MOUSEINPUT: WEND
    x = x + _MOUSEMOVEMENTX
    x2 = _MOUSEMOVEMENTX
    PRINT "x2:"; y
    PRINT x;
    _DISPLAY
LOOP UNTIL INKEY$ <> ""
SYSTEM

The other example above works tho...

OK, I'm glad we're on the same page here, b+!  Smile  I'll chalk this up to a macOS thing. 5 spins will work for me - for now.

Thanks for the replies, DSMan and b+.
Reply


Messages In This Thread
A _MOUSEMOVEMENTX question - by NakedApe - 02-13-2024, 07:35 PM
RE: A _MOUSEMOVEMENTX question - by DSMan195276 - 02-13-2024, 07:42 PM
RE: A _MOUSEMOVEMENTX question - by bplus - 02-13-2024, 07:44 PM
RE: A _MOUSEMOVEMENTX question - by NakedApe - 02-13-2024, 08:01 PM
RE: A _MOUSEMOVEMENTX question - by DSMan195276 - 02-13-2024, 08:06 PM
RE: A _MOUSEMOVEMENTX question - by NakedApe - 02-13-2024, 08:11 PM
RE: A _MOUSEMOVEMENTX question - by DSMan195276 - 02-13-2024, 08:12 PM
RE: A _MOUSEMOVEMENTX question - by bplus - 02-13-2024, 08:14 PM
RE: A _MOUSEMOVEMENTX question - by bplus - 02-13-2024, 08:19 PM
RE: A _MOUSEMOVEMENTX question - by NakedApe - 02-13-2024, 08:26 PM
RE: A _MOUSEMOVEMENTX question - by bplus - 02-13-2024, 08:30 PM
RE: A _MOUSEMOVEMENTX question - by NakedApe - 02-13-2024, 08:46 PM
RE: A _MOUSEMOVEMENTX question - by bplus - 02-13-2024, 10:14 PM
RE: A _MOUSEMOVEMENTX question - by NakedApe - 02-13-2024, 11:29 PM
RE: A _MOUSEMOVEMENTX question - by SMcNeill - 02-13-2024, 10:44 PM
RE: A _MOUSEMOVEMENTX question - by NakedApe - 02-13-2024, 11:36 PM
RE: A _MOUSEMOVEMENTX question - by a740g - 02-14-2024, 01:20 PM
RE: A _MOUSEMOVEMENTX question - by SMcNeill - 02-13-2024, 11:43 PM
RE: A _MOUSEMOVEMENTX question - by mdijkens - 02-14-2024, 03:48 PM
RE: A _MOUSEMOVEMENTX question - by Jack - 02-14-2024, 01:09 PM
RE: A _MOUSEMOVEMENTX question - by a740g - 02-14-2024, 01:10 PM
RE: A _MOUSEMOVEMENTX question - by a740g - 02-24-2024, 05:40 PM
RE: A _MOUSEMOVEMENTX question - by NakedApe - 02-24-2024, 08:04 PM
RE: A _MOUSEMOVEMENTX question - by a740g - 02-25-2024, 01:50 PM
RE: A _MOUSEMOVEMENTX question - by SMcNeill - 02-25-2024, 03:44 PM
RE: A _MOUSEMOVEMENTX question - by NakedApe - 02-25-2024, 04:41 PM
RE: A _MOUSEMOVEMENTX question - by SMcNeill - 02-25-2024, 05:40 PM
RE: A _MOUSEMOVEMENTX question - by bplus - 02-25-2024, 08:58 PM



Users browsing this thread: 3 Guest(s)