MouseX/Y are Graphics mode functions
EventX() and EventY() are the ones you want... but they'll only be available from you EVENT_MOUSEMOVE event, not EVENT_GADGETPAINT.
:-)
Edit : or klepto can rewrite it for you :-p
EventX() and EventY() are the ones you want... but they'll only be available from you EVENT_MOUSEMOVE event, not EVENT_GADGETPAINT.
:-)
Edit : or klepto can rewrite it for you :-p