this is the svg
Kind regards
Bernd
Search found 3857 matches
- Sat May 04, 2024 9:54 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Exporting text to SVG
- Replies: 12
- Views: 159
- Sat May 04, 2024 9:42 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Exporting text to SVG
- Replies: 12
- Views: 159
Re: Exporting text to SVG
Richmond,
What happens if you
?
Kind regards
Bernd
What happens if you
Code: Select all
put textEncode(tText, "UTF-8") into tText
Kind regards
Bernd
- Fri May 03, 2024 6:08 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Exporting text to SVG
- Replies: 12
- Views: 159
Re: Exporting text to SVG
Richmond, put <svg width="800" height="800" xmlns="http://www.w3.org/2000/svg"> into field "fHeader" Put <text x="50" y="50" font-family="Arial" font-size="16"> into field "fTextStart" Try this code on mouseUp put the script of button "b2" into tText ## or wherever you want your text to come from pu...
- Fri May 03, 2024 4:42 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: How to scroll to a specific line number
- Replies: 5
- Views: 101
Re: How to scroll to a specific line number
Make a button and a field that holds the line number you want to scroll to. on mouseUp ## a field that holds the line number you want to scroll to put field "fLineNum" into tLineNum ## the field that holds your text put the height of field "fText" into tFieldHeight put the top of field "fText" into ...
- Thu May 02, 2024 6:22 pm
- Forum: Talking LiveCode
- Topic: Where is stack "revNewScriptEditor"?
- Replies: 7
- Views: 175
Re: Where is stack "revNewScriptEditor"?
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, No but I made a stack that searches the .livecodescript files of the current installation of LC which comprises most of the the code for the IDE. (the few n...
- Thu May 02, 2024 4:38 pm
- Forum: Talking LiveCode
- Topic: Where is stack "revNewScriptEditor"?
- Replies: 7
- Views: 175
Re: Where is stack "revNewScriptEditor"?
Craig,
If an actual editor is created within "revNewScriptEditor" these functions are helpful.
The topMostEditor:
All currently open Editors
Kind regards
Bernd
If an actual editor is created within "revNewScriptEditor" these functions are helpful.
The topMostEditor:
Code: Select all
put revTopMostScriptEditor()
Code: Select all
put revListScriptEditors()
Bernd
- Thu Apr 25, 2024 6:07 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Palettising a main stack.
- Replies: 9
- Views: 326
Re: Palettising a main stack.
try:richmond62 wrote: ↑Thu Apr 25, 2024 4:41 pmI should like a main stack to appear as a palette, but this in the stack script does nothing:Code: Select all
on openStack palette me end openStack
Code: Select all
on openStack
palette this stack
end openStack
Bernd
- Wed Apr 24, 2024 3:14 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Force the script editor to update?
- Replies: 35
- Views: 1248
Re: Force the script editor to update?
@ Bernd : awesome script! Though, don't you think this script would be better by modifying lines 39 to 44 with: repeat for each line anEntry in tTabList if first word of anEntry is "stack" then put anEntry & cr after tCleanStackList else put "stack " & item 2 to -1 of anEntry & cr after tCleanStack...
- Wed Apr 24, 2024 11:34 am
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Force the script editor to update?
- Replies: 35
- Views: 1248
Re: Force the script editor to update?
Hi Zax, here is a heavily commented script that does what I think is what you want: remove tabs from the script editor if the stack is closed. ## the script editor tabs are named using the rugged id of the objects ## Menu Window of LC lists the available stacks as the short names of the stacks ## a ...
- Mon Apr 22, 2024 6:40 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: My masterpiece vanished.
- Replies: 11
- Views: 525
Re: My masterpiece vanished.
Just tested, I can confirm that this is a bug, macOS 14.4.1, LC 9.6.11 Please report it here: https://quality.livecode.com There is a related bug report in QCC https://quality.livecode.com/show_bug.cgi?id=24034 I you first place an image object on the card and then use the paint tools to paint into...
- Wed Apr 17, 2024 8:01 pm
- Forum: Talking LiveCode
- Topic: PolyGrid Direct Cell Editing?
- Replies: 16
- Views: 12296
Re: PolyGrid Direct Cell Editing?
Lance, I updated my modifications to the script of widget "myPolyGrid" taking account of the font used in widget "myPolyGrid" and also fine-tuned the placement of the topMargin to fit better in a wider range of rowHeight and textSize combinations of the widget. Here is the updated script on cellClic...
- Tue Apr 16, 2024 4:42 pm
- Forum: Talking LiveCode
- Topic: PolyGrid Direct Cell Editing?
- Replies: 16
- Views: 12296
Re: PolyGrid Direct Cell Editing?
Hi Lance, Thank you for posting this. It solves a major problem with the PolyGrid. I took the liberty to extend your code: 1. I wanted to see the current text of the cell of the polyGrid in field "UserEdit" since often one just wants to correct a typo etc. 2. I wanted the text in field "UserEdit" to...
- Mon Apr 15, 2024 9:55 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Styling paragraphs/lines?
- Replies: 44
- Views: 2346
Re: Styling paragraphs/lines?
Waiting for Zax, cleaned up an issue with horizontal scrolling with one or more long lines of unwrapped text. Still not perfect as regards the vertical scrollbar. Craig, add on ScrollbarDrag lock screen put the uStartLine of field "overlay" into tStartLinle put the uEndLine of field "overlay" into ...
- Mon Apr 15, 2024 6:33 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Styling paragraphs/lines?
- Replies: 44
- Views: 2346
Re: Styling paragraphs/lines?
Craig, You could also add send "scrollbarDrag" to field "fText" to the end of the mouseUp handler of field "Make Overlay 4" Also if the don't wrap of the field is set then adding to the script of field "fText" if the vScrollbar of field "fText" then subtract the scrollbarWidth of field "fText" from ...
- Mon Apr 15, 2024 3:38 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Styling paragraphs/lines?
- Replies: 44
- Views: 2346
Re: Styling paragraphs/lines?
Craig,
that looks nice and all your script needs is a "select empty" after getting the formattedRect.
Kind regards
Bernd
that looks nice and all your script needs is a "select empty" after getting the formattedRect.
Kind regards
Bernd