Search found 415 matches

by bwmilby
Sat Apr 27, 2024 2:46 pm
Forum: Using Externals
Topic: Tree View widget: scrolling on mobile
Replies: 4
Views: 174856

Re: Tree View widget: scrolling on mobile

It wasn’t slow for me, but the tree was much smaller than 100 keys. You can see it in a live app in the App Store if you download SivaSiva and go to the Stories module. Even though that project is in hiatus the code is all available.
by bwmilby
Sat Apr 27, 2024 5:55 am
Forum: Using Externals
Topic: Tree View widget: scrolling on mobile
Replies: 4
Views: 174856

Re: Tree View widget: scrolling on mobile

I think I had this pretty much sorted out in SivaSiva. I have not looked at the code in over a year, but the stories module behavior script and the mobile controller behavior script are the two key places. I'll try to provide some more helpful code references this weekend. The key difference is that...
by bwmilby
Mon Apr 22, 2024 2:25 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Saving as LiveCodeScript
Replies: 16
Views: 582

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...
by bwmilby
Fri Nov 24, 2023 2:49 am
Forum: Games
Topic: How to deal with many files
Replies: 1
Views: 5965

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: 1709

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: 4077

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: 52775

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: 52775

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: 15485

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: 11492

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: 11492

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: 11492

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: 11492

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: 6482

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...

Go to advanced search