Search found 3846 matches

by bn
Tue Apr 16, 2024 4:42 pm
Forum: Talking LiveCode
Topic: PolyGrid Direct Cell Editing?
Replies: 14
Views: 10000

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...
by bn
Mon Apr 15, 2024 9:55 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Styling paragraphs/lines?
Replies: 44
Views: 1065

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 ...
by bn
Mon Apr 15, 2024 6:33 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Styling paragraphs/lines?
Replies: 44
Views: 1065

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 ...
by bn
Mon Apr 15, 2024 3:38 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Styling paragraphs/lines?
Replies: 44
Views: 1065

Re: Styling paragraphs/lines?

Craig,

that looks nice and all your script needs is a "select empty" after getting the formattedRect.

Kind regards
Bernd
by bn
Mon Apr 15, 2024 3:32 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Bad Document Id
Replies: 5
Views: 151

Re: Bad Document Id

Hi LXs98, if you want to construct your xml from code inside the script try this: on mouseUp put "<ResultInfo>" & \ "<ErrorNumber>0</ErrorNumber>" & \ "<Result>Success</Result>" & \ "<Message>The codes for your meeting have been emailed to John along with some instructions</Message>" & \ "</ResultIn...
by bn
Mon Apr 15, 2024 2:53 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Styling paragraphs/lines?
Replies: 44
Views: 1065

Re: Styling paragraphs/lines?

Hi Zax, I used Dunbarx stack and modified it a bit. I used the field "overlay" to mark text. I made it scrollable (see script of main field) also you can put the overlay field in front of main field or behind the main field (obviously not when the main field is opaque. If the overlay is in front of ...
by bn
Fri Mar 29, 2024 3:56 pm
Forum: Talking LiveCode
Topic: Code folding for Livecode 9.6.9 and up
Replies: 41
Views: 2721

Re: Code folding for Livecode 9.6.9 and up

Hi Stam,

Thank you for reporting, I am currently looking into the first issue you reported and will look into the second issue you found.
For the first issue I might have a solution that needs more testing.

Kind regards
Bernd
by bn
Mon Mar 25, 2024 3:07 pm
Forum: Talking LiveCode
Topic: Code folding for Livecode 9.6.9 and up
Replies: 41
Views: 2721

Re: Code folding for Livecode 9.6.9 and up

Hi Stam,
Thanks for testing and confirming that it works.
I will probably upload the new version soon,

Kind regards
Bernd
by bn
Mon Mar 25, 2024 12:39 pm
Forum: Talking LiveCode
Topic: Code folding for Livecode 9.6.9 and up
Replies: 41
Views: 2721

Re: Code folding for Livecode 9.6.9 and up

Stam,

I have sent you the current version of code folding to your .mac address. It should fix the problem. Could you try that version?

Kind regards
Bernd
by bn
Mon Mar 25, 2024 11:29 am
Forum: Talking LiveCode
Topic: Communicate with AI via tsNetGetSync (Solved)
Replies: 13
Views: 578

Re: Communicate with AI via tsNetGetSync (Solved)

Paul,

I downloaded your stack from dropBox and downloaded the Ollama version for Mac.

Unfortunately I am currently involved in another project and can not test nor adapt your stack for Mac.

I will wait until maybe someone figures it out.

Kind regards
Bernd
by bn
Mon Mar 25, 2024 11:13 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Rename an Icon?
Replies: 37
Views: 1223

Re: Rename an Icon?

Hi Pugalug, I have imported as control some image files and saved them to a separate card in my stack. I want to use these images as button icons. I am making a spinner game and the id of the images keeps changing You could name your images like "horse1", "horse2" etc. and then set the icon of butto...
by bn
Mon Mar 25, 2024 10:46 am
Forum: Talking LiveCode
Topic: Communicate with AI via tsNetGetSync (Solved)
Replies: 13
Views: 578

Re: Communicate with AI via tsNetGetSync (Solved)

mrcoollion wrote:
Mon Mar 25, 2024 10:43 am
*&^%@$@@ file is to big (616 kB).
I could use dropbox. Any better suggestions?
Maybe you have a website and offer it for download from there?
Kind regards
Bernd
by bn
Mon Mar 25, 2024 10:43 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Rename an Icon?
Replies: 37
Views: 1223

Re: Rename an Icon?

You can, obviously, name all the images you use as icons. If you want to give your images numbers, then to avoid the problem with the IDE mucking around with image ID numbers surely the best thing to do is name the images with numbers? This will mean that the image you name "27" will still be calle...
by bn
Mon Mar 25, 2024 10:31 am
Forum: Talking LiveCode
Topic: Communicate with AI via tsNetGetSync (Solved)
Replies: 13
Views: 578

Re: Communicate with AI via tsNetGetSync (Solved)

mrcoollion wrote:
Mon Mar 25, 2024 10:27 am
Pfff.
How can i attach a livecode script in this forum?
Paul,

You could paste a script after first clicking the </> icon.
Or you could probably zip a text file and attach it via "Attachments"

Kind regards
Bernd
by bn
Mon Mar 25, 2024 9:34 am
Forum: Talking LiveCode
Topic: Communicate with AI via tsNetGetSync (Solved)
Replies: 13
Views: 578

Re: Communicate with AI via tsNetGetSync (Solved)

If Anyone is interested having a AI running local on your Laptop/PC for learning and testing purposes but also for actual reallife goals, then I will make a different topic of it and to support the community I will post my LiveCode Application and a short instruction on how to get things running. (...

Go to advanced search