Search found 412 matches

by bwmilby
Fri Nov 24, 2023 2:49 am
Forum: Games
Topic: How to deal with many files
Replies: 1
Views: 5049

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....
by bwmilby
Thu Nov 02, 2023 1:31 am
Forum: Talking LiveCode
Topic: Tree view question
Replies: 2
Views: 1431

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.
by bwmilby
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: 3552

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?
by bwmilby
Tue Aug 22, 2023 2:33 pm
Forum: Off-Topic
Topic: Editing the Dictionary
Replies: 32
Views: 38189

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...
by bwmilby
Tue Aug 22, 2023 1:44 am
Forum: Off-Topic
Topic: Editing the Dictionary
Replies: 32
Views: 38189

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...
by bwmilby
Wed Aug 02, 2023 5:57 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: LiveCode on Kindle Fire
Replies: 19
Views: 11078

Re: LiveCode on Kindle Fire

jacque wrote:
Tue Aug 01, 2023 8:36 am
If Kindle can run Android apps then it should be able to run LC Android standalones. Can you sideload apps on a Kindle?
Have not tried recently but I did have an app I built loaded to my Kindle back at the San Jose conference.
by bwmilby
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: 9136

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?
by bwmilby
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: 9136

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...
by bwmilby
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: 9136

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
by bwmilby
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: 9136

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.
by bwmilby
Fri Apr 07, 2023 11:57 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Carriage Return
Replies: 9
Views: 4965

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...
by bwmilby
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: 4153

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...
by bwmilby
Sat Jan 21, 2023 2:10 am
Forum: HTML5
Topic: Replace external functions/commands with JS
Replies: 17
Views: 8560

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 ...
by bwmilby
Sun Jan 01, 2023 11:45 pm
Forum: iOS Deployment
Topic: Haptic feedback? Visual feedback of a long touch?
Replies: 7
Views: 4852

Re: Haptic feedback? Visual feedback of a long touch?

Have you tried the

Code: Select all

mobileVibrate
command?

Go to advanced search