If I click the mouse on a graphic box example:
DO
(print something if this box is clicked)
(Load a file if this box is clicked)
........
etc
GRAPHIC INKEY$ TO x
LOOP UNTIL x = $ESC
That box is set into a loop, which keeps doing it over and over. How can I destroy the mouse pointers location after clicking on a box so it only does the action clicked on once (but still be able to click the same box to do the action again)?
I can set a Flag, which works, but clicking on that box again does nothing.
Hope this is not a stupid question.
Thanks, Lynn
DO
(print something if this box is clicked)
(Load a file if this box is clicked)
........
etc
GRAPHIC INKEY$ TO x
LOOP UNTIL x = $ESC
That box is set into a loop, which keeps doing it over and over. How can I destroy the mouse pointers location after clicking on a box so it only does the action clicked on once (but still be able to click the same box to do the action again)?
I can set a Flag, which works, but clicking on that box again does nothing.
Hope this is not a stupid question.
Thanks, Lynn
Comment