HOW COULD THEY NOT mention this somewhere? It would be a fabulous addition to who knows how many LC gadgets.
Craig
Search found 9447 matches
- Fri May 10, 2024 4:39 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Can You do this?
- Replies: 26
- Views: 985
- Fri May 10, 2024 4:38 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Can You do this?
- Replies: 26
- Views: 985
Re: Can You do this?
Klaus.
Terrific detective work and lucky gamble both. I wonder where else this can be exploited.
Craig
Terrific detective work and lucky gamble both. I wonder where else this can be exploited.
Craig
- Fri May 10, 2024 2:32 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Can You do this?
- Replies: 26
- Views: 985
Re: Can You do this?
Klaus.
Amazing. Where in the dictionary does it say that one can do this sort of magic? What is the form of the command itself?
Craig
Amazing. Where in the dictionary does it say that one can do this sort of magic? What is the form of the command itself?
Craig
- Fri May 10, 2024 2:27 pm
- Forum: Talking LiveCode
- Topic: What is up with "lock Cursor"?
- Replies: 41
- Views: 1192
Re: What is up with "lock Cursor"?
@Jacque. The dictionary states:
Craig
@Richmond. Can you send a stack that shows it? None of your others do, irrespective of the LC version.Note: If there is no idle handler anywhere in the message path, no idle message is sent.
Craig
- Thu May 09, 2024 7:27 pm
- Forum: Talking LiveCode
- Topic: What is up with "lock Cursor"?
- Replies: 41
- Views: 1192
Re: What is up with "lock Cursor"?
Aha. In the previous setup, if I do not lock the cursor, it barely ever changes as I move around within the button. It has fleeting instances where it does, but they are really fleeting. So locking the cursor does indeed have an effect, but you have to work hard to find it. And it proves even more s...
- Thu May 09, 2024 7:23 pm
- Forum: Talking LiveCode
- Topic: What is up with "lock Cursor"?
- Replies: 41
- Views: 1192
Re: What is up with "lock Cursor"?
Jacque. I made a new card with a new button and a field, with the following in the card script: on mouseMove put random(999) into fld 1 if the mouseLoc is within the rect of btn 1 then set the cursor to watch lock cursor end if end mouseMove Moving the cursor loads numbers into the field. When I ent...
- Thu May 09, 2024 7:14 pm
- Forum: Talking LiveCode
- Topic: What is up with "lock Cursor"?
- Replies: 41
- Views: 1192
Re: What is up with "lock Cursor"?
Jacque. The cursor should remain locked across handlers until one of them unlocks it or an idle occurs "Idle" is not sent unless there is an actual idle handler somewhere. Thank heavens. Didn't HC sent them always? Anyway, it seems that the cursor only stays locked based on its remaining within the ...
- Thu May 09, 2024 5:11 pm
- Forum: Talking LiveCode
- Topic: What is up with "lock Cursor"?
- Replies: 41
- Views: 1192
Re: What is up with "lock Cursor"?
This stack shows that one may change and lock a cursor under script control. When that handler ends, the new cursor sticks, as shown by the action of a mouseMove handler that loads a field with numbers. But ONLY while the cursor is within the rect of the object within which it was changed. Once it l...
- Thu May 09, 2024 4:44 pm
- Forum: Talking LiveCode
- Topic: What is up with "lock Cursor"?
- Replies: 41
- Views: 1192
Re: What is up with "lock Cursor"?
I take much back. Richmond, your latest stack changes and locks the cursor upon mouseEnter into a field. But the cursor reverts once one leaves the rect of the field. What were you trying to show here? And I just played with the two "Curses" stacks, and neither exhibits any permanence to a cursor. S...
- Thu May 09, 2024 4:34 pm
- Forum: Talking LiveCode
- Topic: What is up with "lock Cursor"?
- Replies: 41
- Views: 1192
Re: What is up with "lock Cursor"?
Richmond is using an old version of LC to demonstrate that the "lock Cursor" command once worked as advertised. The "defaultCursor" property has been around since LC v.2.
None of this is helpful, but we do have "defaultCursor".
Craig
None of this is helpful, but we do have "defaultCursor".
Craig
- Thu May 09, 2024 2:06 pm
- Forum: Talking LiveCode
- Topic: What is up with "lock Cursor"?
- Replies: 41
- Views: 1192
Re: What is up with "lock Cursor"?
Richmond, are you in LC 9.6.9?
Craig
Craig
- Thu May 09, 2024 2:05 pm
- Forum: Talking LiveCode
- Topic: What is up with "lock Cursor"?
- Replies: 41
- Views: 1192
Re: What is up with "lock Cursor"?
Jacque thinks this was a bug that was resolved. It does not seem to be. I cannot imagine how Richmond made his work. He uses an image, whereas I only changed the cursor to one of the available standard offerings. That should not matter. But then what is the point of the "defaultCursor"? The issue is...
- Wed May 08, 2024 11:13 pm
- Forum: Talking LiveCode
- Topic: What is up with "lock Cursor"?
- Replies: 41
- Views: 1192
Re: What is up with "lock Cursor"?
Jacque. I do not think so. My test stack has a button with: on mouseup set the cursor to watch lock cursor --wait until the mouseClick-- with messages end mouseUp Clicking on the button changes the cursor. But moving that cursor out of the rect of the button reverts to the standard arrow. I am in LC...
- Wed May 08, 2024 6:46 pm
- Forum: Talking LiveCode
- Topic: What is up with "lock Cursor"?
- Replies: 41
- Views: 1192
Re: What is up with "lock Cursor"?
Richmond.
Are on linux? For me, only the global "defaultCursor" will allow me to keep whatever cursor I chose using the browse tool.
Surely the platform cannot have that sort of difference.
Craig
Are on linux? For me, only the global "defaultCursor" will allow me to keep whatever cursor I chose using the browse tool.
Surely the platform cannot have that sort of difference.
Craig
- Wed May 08, 2024 5:16 pm
- Forum: Talking LiveCode
- Topic: What is up with "lock Cursor"?
- Replies: 41
- Views: 1192
Re: What is up with "lock Cursor"?
Richmond. Just downloaded your second stack. Nope. Again, the issue is that the cursor property cannot be used if one expects it to stick as the user navigates around the card. Richard really points out that, counterintuitively (at least to me) the "cursor" property, along with "lock cursor", is not...