Search found 417 matches

by bwmilby
Mon Feb 14, 2022 6:10 am
Forum: Off-Topic
Topic: FN Key?
Replies: 3
Views: 2389

Re: FN Key?

When you hold the Fn key and press a (valid?) key, then the action is trapped before any key message would make it to the OS. It is handled by the BIOS I think. Most of my work PC laptops have had these keys. As your clip stated, it is frequently used to adjust volume and screen brightness. I’ve als...
by bwmilby
Tue Jan 25, 2022 3:03 am
Forum: Announcements
Topic: [ANN] VSCode extension for Livecode
Replies: 14
Views: 8464

Re: [ANN] VSCode extension for Livecode

Linting should not be a problem until LC10 adds new syntax. The community version (which you probably could still compile from source if needed) should be fine for this purpose. ScriptTracker could be a possible solution to the integration issue. It exports all of the scripts of a binary stack to fi...
by bwmilby
Wed Nov 17, 2021 5:46 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Nested Data Grid Behaviors
Replies: 3
Views: 3540

Re: Nested Data Grid Behaviors

I’ve never actually tried to build a stand alone that uses the code, so I’m not positive about the steps. But, if you updated the script in the LC installed on your machine, that same code should be brought into your compiled app. I would need to play with it some. If it doesn’t make it into version...
by bwmilby
Fri Oct 29, 2021 5:03 am
Forum: Android Deployment
Topic: Orientation change
Replies: 8
Views: 3771

Re: Orientation change

You should not need to do anything with the size of the stack/card. You should only need to position elements on the card. The engine takes care of adjusting the size of the stack/card when the device rotates (or launches on a device that doesn’t match the development size). resizeStack is the bette...
by bwmilby
Thu Sep 23, 2021 11:04 pm
Forum: Off-Topic
Topic: LC vs Flutter
Replies: 50
Views: 50231

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

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

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

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

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

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

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

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

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

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

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.

Go to advanced search