Search found 413 matches

by bwmilby
Thu Sep 23, 2021 11:04 pm
Forum: Off-Topic
Topic: LC vs Flutter
Replies: 50
Views: 47322

Re: LC vs Flutter

You can write the same code in about half the length in LC - but that code in Fluter is the entire app - no binary resources, no creating a stack, adding labels etc. Not entirely accurate though. When you create a new project there are a few different files that are generated. Any graphics and such...
by bwmilby
Sun Sep 19, 2021 3:27 am
Forum: iOS Deployment
Topic: portrait upside down - again?
Replies: 4
Views: 3665

Re: portrait upside down - again?

Any iOS device with a notch will not work in upside down mode.
by bwmilby
Fri Aug 27, 2021 4:15 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: livecode script on github
Replies: 17
Views: 8142

Re: livecode script on github

Probably a good reason to use ScriptTracker for binary stacks posted to GitHub. This would increase the number of livecodescript files posted there with very little work on the developer (I.e. no need to convert to SOS/behaviors).
by bwmilby
Wed Aug 25, 2021 2:45 am
Forum: Android Deployment
Topic: Android error: Could not compile service support class
Replies: 19
Views: 24430

Re: Android error: Could not compile service support class

I never actually tried 9 but got the Oracle version of 8.
by bwmilby
Fri Jul 30, 2021 1:23 pm
Forum: Off-Topic
Topic: Your favourite text editor for working with livecode
Replies: 12
Views: 6130

Re: Your favourite text editor for working with livecode

I do a bit of editing in Atom. No need to manually copy/paste though. Take a look at ScriptTracker if you would like to edit your scripts from binary stacks in an external editor. It also allows easy tracking of script changes in a stack using Git.
by bwmilby
Fri Jul 09, 2021 5:01 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Computing a hierarchical tree of files and folders
Replies: 6
Views: 3618

Re: Computing a hierarchical tree of files and folders

If you modify the source to generate a nested array, then the tree view widget could display the data fairly efficiently. Another alternative is Trevor’s DataView Tree. He has an example that displays a folder hierarchy (GitHub.com/trevordevore/dataview_demo). Someone may have a nifty way to parse y...
by bwmilby
Thu Jun 03, 2021 1:32 am
Forum: iOS Deployment
Topic: Reference an actual location on the screen
Replies: 7
Views: 4024

Re: Reference an actual location on the screen

Simple. Don’t try to use screenRect on mobile. Use the rect of this card instead.
by bwmilby
Tue May 04, 2021 2:49 pm
Forum: Android Deployment
Topic: Detecting Android navigation setting
Replies: 7
Views: 3807

Re: Detecting Android navigation setting

You should not need to be using screenrect at all on mobile. Download SivaSiva to see a LiveCode app that is responsive to the screen size (most of the app).

All objects are place relative to the card, not the screen. The rect that you need to use is the rect of the card.
by bwmilby
Sun May 02, 2021 9:22 pm
Forum: Android Deployment
Topic: Detecting Android navigation setting
Replies: 7
Views: 3807

Re: Detecting Android navigation setting

Try the following changes to your stack script: comment out the 2 lines where you set the stack size in preOpenStack and add the following handler: on resizeStack local tRect put the rect of this card into tRect put item 1 of tRect into gScreenRect1 put item 2 of tRect into gScreenRect2 put item 3 o...
by bwmilby
Sat May 01, 2021 3:24 pm
Forum: Android Deployment
Topic: Detecting Android navigation setting
Replies: 7
Views: 3807

Re: Detecting Android navigation setting

I think that is just Android. The virtual hardware buttons are not included in the screenrect. Same thing on the Pixel that I use for development. This is also a key difference between iOS and Android. On iOS you can address the full screen (behind the “furniture”) but you can’t on Android. But, you...
by bwmilby
Thu Apr 22, 2021 1:14 pm
Forum: Talking LiveCode
Topic: Using custom properties for localization: how to for Navigation Bar Widget
Replies: 10
Views: 4978

Re: Using custom properties for localization: how to for Navigation Bar Widget

What you are actually running up against is the fact that the profile manager library has not been updated to handle widgets. That is probably one reason that the UI for it was not included in the IDE update.
by bwmilby
Sun Apr 18, 2021 2:28 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: On TextChanged not firing when field changed by script
Replies: 23
Views: 7633

Re: On TextChanged not firing when field changed by script

One thing that I think is being lost is that if "textChanged" was sent when the field was updated by script, then you could get yourself into a really bad recursion loop. One of the uses of the message is to clean up a field after user interaction which very well may end up making another change to ...
by bwmilby
Wed Mar 31, 2021 2:34 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Sort multidimensional array
Replies: 87
Views: 54330

Re: Sort multidimensional array

Another tidbit about the tree widget is that a feature has been added to facilitate manual sort. You can specify a number of characters to trim from the beginning of the key on display. This allows you to pre-pend a sort key before the display key. (i.e. 00-First key, 01-Second key, ... where 3 char...
by bwmilby
Wed Mar 31, 2021 2:15 am
Forum: iOS Deployment
Topic: IOS Deployment
Replies: 11
Views: 5724

Re: IOS Deployment

One thing to check is to connect your phone and then unlock it. You may see a message about trusting the computer.
by bwmilby
Sat Mar 27, 2021 2:24 pm
Forum: iOS Deployment
Topic: Detecting iOS Home Bar location
Replies: 4
Views: 3009

Re: Detecting iOS Home Bar location

About the only thing you could do is to use the screen ratio instead of actual pixel size to determine if it is going to have that virtual button. My guess is that Apple is going to eventually remove the physical button from all phones but in doing so the aspect ratio will likely remain taller/wider...

Go to advanced search