Quantcast
Channel: LiveCode Forums
Viewing all articles
Browse latest Browse all 823

Talking LiveCode • What is up with "lock Cursor"?

$
0
0
This derived from a thread about cursors. I almost never use the "cursor" property.

But I do not understand why, in a new stack with a single button, in the button script:

CODE:

on mouseUp   set the cursor to watch   lock cursorend mouseUp
The cursor only is watch while within the rect of the button itself. It reverts to arrow if I move out of the button rect. If instead I place that handler in the card script, then the cursor is a watch unless I enter the rect of the button. It cannot be so, but this test seems to indicate that when one changes the cursor, even if locked, it only retains its new form while within the rect of the initial object it was made.

I know so little of LC. :(

Craig

Statistics: Posted by dunbarx — Wed May 08, 2024 2:30 pm



Viewing all articles
Browse latest Browse all 823

Trending Articles