Richmond.
Isn't this another comment about SVG in a thread that you started just a while ago?
Craig
Search found 9396 matches
- Fri May 03, 2024 3:14 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Exporting text to SVG
- Replies: 10
- Views: 150
- 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: 97
Re: How to scroll to a specific line number
Make a field with many lines of text. In a button somewhere, put:
Craig
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
- Thu May 02, 2024 6:52 pm
- Forum: Talking LiveCode
- Topic: Where is stack "revNewScriptEditor"?
- Replies: 7
- Views: 175
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
Fun stuff. Thank you.
That home stack is a doozy.
Glad to hear someone thinks the weekend starts today.
Craig
- Thu May 02, 2024 5:05 pm
- Forum: Talking LiveCode
- Topic: Where is stack "revNewScriptEditor"?
- Replies: 7
- Views: 175
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.
Craig
Do you have a secret list of undocumented native LC words? My favorite is "the messageMessages", but I know there are lots more.
Craig
- Thu May 02, 2024 3:18 pm
- Forum: Talking LiveCode
- Topic: Where is stack "revNewScriptEditor"?
- Replies: 7
- Views: 175
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...
- Thu May 02, 2024 3:05 pm
- Forum: Talking LiveCode
- Topic: Where is stack "revNewScriptEditor"?
- Replies: 7
- Views: 175
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...
- Thu May 02, 2024 2:56 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Cursor visibility problem
- Replies: 8
- Views: 216
Re: Cursor visibility problem
CAsba.
Good, Just so you know, you can also: which will place the cursor in the center of the SE.
Craig
Good, Just so you know, you can also:
Code: Select all
if the optionKey is down then set the screenMouseLoc to the loc of stack "revNewScriptEditor 1"
Craig
- Thu May 02, 2024 2:07 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Cursor visibility problem
- Replies: 8
- Views: 216
Re: Cursor visibility problem
CAsba.
You can write a little ditty in the stack script like:
Now just click with optionKey and the cursor will appear at the center of the card window.
Craig
You can write a little ditty in the stack script like:
Code: Select all
on mouseUp
if the optionKey is down then set the screenMouseLoc to the loc of this stack
end mouseUp
Craig
- Fri Apr 26, 2024 5:31 pm
- Forum: Windows
- Topic: SQL Query error when a String has double quote
- Replies: 3
- Views: 329
Re: SQL Query error when a String has double quote
Paul and Stam are trying to convince you to solve your problem like an adult would. But I ran into something like this many years ago, and solved it like a petulant child. I substituted ASCII 210 (or 211, I cannot now remember) for every quote constant at risk: replace quote with numToChar(210) in y...
- Thu Apr 25, 2024 8:21 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Exporting SVG images?
- Replies: 9
- Views: 541
Re: Exporting SVG images?
So is this worth an enhancement request, to add a sixth format to the "export" command?
Craig
Craig
- Thu Apr 25, 2024 8:19 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Palettising a main stack.
- Replies: 9
- Views: 326
Re: Palettising a main stack.
Well, more complicated than I thought.
If your handler is in the stack script, it does not work. The openStack handler fires but nothing happens. But if it is this in the stack script:
it work fine if you click on the card window.
Craig
If your handler is in the stack script, it does not work. The openStack handler fires but nothing happens. But if it is this in the stack script:
Code: Select all
on mouseUp
palette me
end mouseUp
Craig
- Thu Apr 25, 2024 8:17 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Palettising a main stack.
- Replies: 9
- Views: 326
Re: Palettising a main stack.
Well, more complicated than I thought.
If your handler is in the stack script, it does not work. But if it is this:
it work fine.
Craig
If your handler is in the stack script, it does not work. But if it is this:
Code: Select all
on mouseUp
palette me
end mouseUp
Craig
- Thu Apr 25, 2024 8:13 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Palettising a main stack.
- Replies: 9
- Views: 326
Re: Palettising a main stack.
Richmond.
"Me" really cannot be used that way. It only refers to the object that contains a running handler. So you could make this work if you put your original handler in the stack script.
Craig
"Me" really cannot be used that way. It only refers to the object that contains a running handler. So you could make this work if you put your original handler in the stack script.
Craig
- Thu Apr 25, 2024 3:53 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Exporting SVG images?
- Replies: 9
- Views: 541
Re: Exporting SVG images?
They are xml files. I assume that they present their vector graphic data in a certain format. The issue, I guess, is that the SVG data is not exportable by LC in its "SVG" format.
Craig
Craig
- Thu Apr 25, 2024 1:58 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Exporting SVG images?
- Replies: 9
- Views: 541
Re: Exporting SVG images?
Richmond.
The dictionary does not seem to include that format in the five it mentions.
Craig
The dictionary does not seem to include that format in the five it mentions.
Craig