Search found 9405 matches

by dunbarx
Wed May 08, 2024 11:13 pm
Forum: Talking LiveCode
Topic: What is up with "lock Cursor"?
Replies: 14
Views: 279

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...
by dunbarx
Wed May 08, 2024 6:46 pm
Forum: Talking LiveCode
Topic: What is up with "lock Cursor"?
Replies: 14
Views: 279

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
by dunbarx
Wed May 08, 2024 5:16 pm
Forum: Talking LiveCode
Topic: What is up with "lock Cursor"?
Replies: 14
Views: 279

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...
by dunbarx
Wed May 08, 2024 5:09 pm
Forum: Talking LiveCode
Topic: What is up with "lock Cursor"?
Replies: 14
Views: 279

Re: What is up with "lock Cursor"?

Richmond.

Your "paw" changes as soon as the cursor leaves that image. That is what I wrote about initially.

Craig
by dunbarx
Wed May 08, 2024 5:07 pm
Forum: Talking LiveCode
Topic: What is up with "lock Cursor"?
Replies: 14
Views: 279

Re: What is up with "lock Cursor"?

Richard.

Yep, that does it, thanks. Do not remember that at all. The dictionary ought to at least mention it in related "cursor" entries.

Craig
by dunbarx
Wed May 08, 2024 2:43 pm
Forum: Talking LiveCode
Topic: What is up with "lock Cursor"?
Replies: 14
Views: 279

Re: What is up with "lock Cursor"?

It seems that changing the cursor is meant for running handlers, not just general cursor "styles".

But is there no way to simply have ones own cursor for general use?

Craig
by dunbarx
Wed May 08, 2024 2:30 pm
Forum: Talking LiveCode
Topic: What is up with "lock Cursor"?
Replies: 14
Views: 279

What is up with "lock Cursor"?

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: on mouseUp set the cursor to watch lock cursor end mouseUp The cursor only is watch while within the rect of the button itself. ...
by dunbarx
Tue May 07, 2024 6:28 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: I want to obfuscate some things.
Replies: 4
Views: 190

Re: I want to obfuscate some things.

@Klaus. It is just that not every person who posts in a thread reads the previous history of that thread. I have been guilty of that occasionally. @ Anthony. Right, but wrong. "optionKey" is a function. You cannot use "if the optionKey()". Use instead "if optionKey()", or go where I always do, "if t...
by dunbarx
Sun May 05, 2024 11:18 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: OpenCard to control?
Replies: 25
Views: 696

Re: OpenCard to control?

Zax. You should inform Jacque that the "direction" of that diagram is upside down. She will appreciate the news.

Craig
by dunbarx
Fri May 03, 2024 3:14 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Exporting text to SVG
Replies: 23
Views: 759

Re: Exporting text to SVG

Richmond.

Isn't this another comment about SVG in a thread that you started just a while ago?

Craig
by dunbarx
Fri May 03, 2024 2:14 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: How to scroll to a specific line number
Replies: 5
Views: 197

Re: How to scroll to a specific line number

Make a field with many lines of text. In a button somewhere, put:

Code: Select all

on mouseUp
   set the fixedLineheight of fld 1 to "true"
   ask "What Line?"
   set the scroll of fld 1 to it * the textheight of fld 1 - the textHeight of fld 1
end mouseUp
Craig
by dunbarx
Thu May 02, 2024 6:52 pm
Forum: Talking LiveCode
Topic: Where is stack "revNewScriptEditor"?
Replies: 7
Views: 246

Re: Where is stack "revNewScriptEditor"?

Bernd,

Fun stuff. Thank you.

That home stack is a doozy.

Glad to hear someone thinks the weekend starts today.

Craig
by dunbarx
Thu May 02, 2024 5:05 pm
Forum: Talking LiveCode
Topic: Where is stack "revNewScriptEditor"?
Replies: 7
Views: 246

Re: Where is stack "revNewScriptEditor"?

Bernd.

Do you have a secret list of undocumented native LC words? My favorite is "the messageMessages", but I know there are lots more. :wink:

Craig
by dunbarx
Thu May 02, 2024 3:18 pm
Forum: Talking LiveCode
Topic: Where is stack "revNewScriptEditor"?
Replies: 7
Views: 246

Re: Where is stack "revNewScriptEditor"?

Richmond. Which stack? Whichever stack. It turns out that in a new session, only the stack "revNewScriptEditor" is loaded, and it seems to be some sort of template builder for new instances of an SE as they are called. I just never knew that. But the "1" appended to the working, "real" SE should hav...
by dunbarx
Thu May 02, 2024 3:05 pm
Forum: Talking LiveCode
Topic: Where is stack "revNewScriptEditor"?
Replies: 7
Views: 246

Where is stack "revNewScriptEditor"?

A current thread about finding a lost cursor made me offer the suggestion to: if the optionKey is down then set the screenMouseLoc to the loc of this stack Works fine. But the OP mentioned that the issue was when he was editing scripts, so I thought I could be more helpful, and tested: if the option...

Go to advanced search