Search found 413 matches
- Mon Apr 22, 2024 2:25 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Saving as LiveCodeScript
- Replies: 16
- Views: 539
Re: Saving as LiveCodeScript
It is certainly possible to write a script that will export a stack into a script only form. Certain things would make the process more complex. If you count on object IDs being a certain value for example. Another issue is any binary objects (images…) - do you want to reference files or include the...
- Fri Nov 24, 2023 2:49 am
- Forum: Games
- Topic: How to deal with many files
- Replies: 1
- Views: 5853
Re: How to deal with many files
I worked with SivaSiva that had a similar issue (although mainly was reducing app size). The approach that was used there was the file based one. A zip file was prepared with the assets and it was downloaded after the app installed. Once downloaded, the files were extracted and the zip file deleted....
- Thu Nov 02, 2023 1:31 am
- Forum: Talking LiveCode
- Topic: Tree view question
- Replies: 2
- Views: 1654
Re: Tree view question
You are not missing anything. The sub-array is the value. You can’t have both a scalar value and a sub-array value.
- Tue Aug 29, 2023 1:57 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Script widgets: How to emit a message than can be managed in widget's script?
- Replies: 7
- Views: 4021
Re: Script widgets: How to emit a message than can be managed in widget's script?
Ok, I understand now. You want an equivalent to the LCB
Code: Select all
post “messageName”
- Tue Aug 29, 2023 1:27 am
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Script widgets: How to emit a message than can be managed in widget's script?
- Replies: 7
- Views: 4021
Re: Script widgets: How to emit a message than can be managed in widget's script?
Wouldn’t that just be calling the handler directly? Are you wanting to do some work in the widget before passing the message for possible additional work outside?
- Tue Aug 22, 2023 2:33 pm
- Forum: Off-Topic
- Topic: Editing the Dictionary
- Replies: 32
- Views: 51523
Re: Editing the Dictionary
A while back I created a tool (DocEditorPlus) with Mark’s help (Widget Wizard) that let you parse the LCDOC files into a viewable format in your browser. It can also let you parse the docs out of your LCB files to check how they look without having to do a full build of the widget. https://github.co...
- Tue Aug 22, 2023 1:44 am
- Forum: Off-Topic
- Topic: Editing the Dictionary
- Replies: 32
- Views: 51523
Re: Editing the Dictionary
Does anyone know the relationship between these: https://livecode.com/resources/api/ https://milby.us/lc/docs/api.html and the inbuilt Dictionary inwith the IDE? Short answer is that it is static at the version I used to export the data. I’m hesitant to run the export on the commercial/licensed ver...
- Wed Aug 02, 2023 5:57 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: LiveCode on Kindle Fire
- Replies: 19
- Views: 15111
- Tue May 16, 2023 7:22 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: MobilecontrolSet native scroller on LC10. Does it works?
- Replies: 16
- Views: 11274
Re: MobilecontrolSet native scroller on LC10. Does it works?
Glad to hear you solved the issue. Did you stick with letterbox or change to none?
- Mon May 15, 2023 5:54 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: MobilecontrolSet native scroller on LC10. Does it works?
- Replies: 16
- Views: 11274
Re: MobilecontrolSet native scroller on LC10. Does it works?
I’ve downloaded the stack and observed the issue. Hopefully I will get some time to work with it over the next few days. My initial solution didn’t pan out though (trying to figure out global coordinates for the scroller). I think you should be able to set the fullscreenmode upon arriving at the car...
- Fri May 12, 2023 12:43 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: MobilecontrolSet native scroller on LC10. Does it works?
- Replies: 16
- Views: 11274
Re: MobilecontrolSet native scroller on LC10. Does it works?
There was a thread about this type of issue on the list a while back. I can't test right now, but this is what was used as part of the solution:
Code: Select all
put globalloc(the topleft of grc "scan"),globalloc(the bottomright of grc "scan") into newRect
- Fri May 12, 2023 2:13 am
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: MobilecontrolSet native scroller on LC10. Does it works?
- Replies: 16
- Views: 11274
Re: MobilecontrolSet native scroller on LC10. Does it works?
I can’t get on my computer to look right now but the problem that you are running into is that the mobile scroller uses the actual screen coordinates which becomes a math problem when using any fullscreenmode. Best way, in my opinion, is to write a resizeStack handler to adjust the layout.
- Fri Apr 07, 2023 11:57 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Carriage Return
- Replies: 9
- Views: 6370
Re: Carriage Return
Very correct. Internally, RETURN, LINEFEED, LF, and CR are synonyms that all evaluate to ASCII 10. It does not really matter when within LiveCode though (text in fields). When you import text into LC, the line delimiter is changed to 10 and that is what LC uses. When you save text, the value is chan...
- Mon Apr 03, 2023 4:11 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Adding your own icons to the Navigation and Header bar widgets
- Replies: 11
- Views: 4882
Re: Adding your own icons to the Navigation and Header bar widgets
Probably my tool: https://github.com/bwmilby/SvgIconTool LSON is just a serialized LiveCode array. I used it mainly as an easy way to facilitate exporting the data as a single file for each family. For an actual project, I would probably use a custom property in the main stack to store the data as s...
- Sat Jan 21, 2023 2:10 am
- Forum: HTML5
- Topic: Replace external functions/commands with JS
- Replies: 17
- Views: 10254
Re: Replace external functions/commands with JS
In a desktop app I would suggest a hidden browser widget. It may work for HTML5 too, but I've not tried it. The page loaded in the widget would hold your JS state. You would just need to set the JS handlers that would map to LC handlers. In your async example, the callback could be a JS function if ...