Page 1 of 1

set cursor to none --> cursor doesnt reappear

Posted: Sun Mar 01, 2020 1:32 pm
by okk
Hi, can someone verify this glitch:

Code: Select all

on mouseup
   set the cursor to none
   lock cursor
   wait 100
   unlock cursor
end mouseup
The cursor would stay hidden after script execution, it shows up evetually if I move it over a text field, but not when the text of that field is locked. Lc 9.5.0 on MacOS 10.12.6.
Thanks
Oliver

Re: set cursor to none --> cursor doesnt reappear

Posted: Sun Mar 01, 2020 2:33 pm
by bogs
Oliver,
works as expected on 'nix, cursor disappears, comes back after the unlock. I'm curious, though, what happens if you add the line -

Code: Select all

set the cursor to arrow
at the end ?

Re: set cursor to none --> cursor doesnt reappear

Posted: Sun Mar 01, 2020 2:54 pm
by jmburnod
Hi Oliver
Your script works as expected for me (LC 9.5, OS X 10.13)
Best regards
Jean-Marc

Re: set cursor to none --> cursor doesnt reappear

Posted: Sun Mar 01, 2020 3:06 pm
by richmond62
curse.png
-
Seems alright 'here': LiveCode 9.5.0, MacOS 10.15.4 beta 3.

I put your mouseUp script in the field.