Search found 423 matches
- Tue Aug 22, 2023 2:33 pm
- Forum: Off-Topic
- Topic: Editing the Dictionary
- Replies: 32
- Views: 56132
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: 56132
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: 16200
- 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: 12777
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: 12777
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: 12777
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: 12777
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: 6815
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: 5149
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: 11637
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 ...
- Sun Jan 01, 2023 11:45 pm
- Forum: iOS Deployment
- Topic: Haptic feedback? Visual feedback of a long touch?
- Replies: 7
- Views: 6957
Re: Haptic feedback? Visual feedback of a long touch?
Have you tried the
command?
Code: Select all
mobileVibrate
- Tue Dec 27, 2022 10:29 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Can I use a Javascript library for non-web app?
- Replies: 4
- Views: 1633
Re: Can I use a Javascript library for non-web app?
I’ll echo what SparkOut said. I’ll add that the widget can be hidden. I’ve done a test that used some JS libraries but only tested on desktop.
- Sat Dec 24, 2022 12:04 am
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: stretching two joined fields keeping the join stationary
- Replies: 15
- Views: 5434
Re: stretching two joined fields keeping the join stationary
A good read. Thank you for including the report link. FWIW the orientationChanged message is sent in a subset of cases where resizeStack is sent. Sometimes that narrow range is useful, but for layout resizeStack will handle more cases, including orientation change. We can view resizeStack as one-st...
- Thu Nov 03, 2022 2:21 pm
- Forum: iOS Deployment
- Topic: iPhoneSafeAreaInsets
- Replies: 32
- Views: 23162
Re: iPhoneSafeAreaInsets
One big difference that I notice is that on iOS you can draw behind the furniture (outside safe area, beside notch, under status bar) but those areas are outside the drawable rect on Android. I’ve not pulled up any Android sims with a notch though, so not as sure about them.
- Tue Oct 04, 2022 6:42 pm
- Forum: Talking LiveCode
- Topic: Using external script only stack as behaviour
- Replies: 47
- Views: 21400
Re: Using external script only stack as behaviour
The actual problem with your demo stack is that it had the behaviors listed twice in the StackFiles. Once at the root level and once in the folder. This is what prevented them from being found and mapped properly as behaviors. If you delete the entries that are not in a folder, save, quit and relaun...