Re: Go to card has become slow

2020-04-07 Thread Richard Gaskin via use-livecode
Great test set, Neville. Thanks for posting that link. The hardware on my Linux and Win boxes is so different I don't have a strong opinion there. But I did modify your main test script to see what I might learn from isolating the file I/O from the stack serialization: on mouseUp put word

Make video call

2020-04-07 Thread Riko Abadi via use-livecode
Hello, in theory is it possible we can make a video call application like zoom with livecode? thanks ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

Re: Go to card has become slow

2020-04-07 Thread Neville Smythe via use-livecode
Richard Here is a link to the test stack for testing the speed of save stack https://www.dropbox.com/sh/cb2r9jbohxqv6bp/AAAQ1weLLlzrKYQ21yn1apf9a?dl=0 I don’t know why the test stacks I supplied disappeared from the QC bug report. You need the SlowSave.livecode and the data.livecode stacks.

Re: Problems locating Android SDK

2020-04-07 Thread Sannyasin Brahmanathaswami via use-livecode
Well, second, related problem. Android appears installed On OSX Catalina, I am having trouble getting my device to appear... /Library/Android/sdk/build-tools/29.0.1 Android -- from terminal, appear normal % ./adb %./adb kill-server %./adb start-server * daemon started successfully % ./adb

Re: Who else doesn't want auto-select when opening a card?

2020-04-07 Thread Trevor DeVore via use-livecode
On Mon, Apr 6, 2020 at 1:39 PM J. Landman Gay via use-livecode < use-livecode@lists.runrev.com> wrote: > This makes me crazy. I almost never want the first field selected when I > go to a card, > particularly on mobile. And god forbid the first field is a list field, > where the first line is >

Re: Who else doesn't want auto-select when opening a card?

2020-04-07 Thread Bob Sneidar via use-livecode
I think about 30% of my coding is one workaround or another. :-) Bob S > On Apr 7, 2020, at 3:53 PM, J. Landman Gay via use-livecode > wrote: > > I have workarounds, I just don't want to have to use them. Selecting nothing > or setting the hilitedline, either one, you still have to set up

Re: Who else doesn't want auto-select when opening a card?

2020-04-07 Thread J. Landman Gay via use-livecode
I have workarounds, I just don't want to have to use them. Selecting nothing or setting the hilitedline, either one, you still have to set up some handlers to do it. They don't work in an openCard handler, you have to reset after that. On 4/6/20 2:38 PM, Bob Sneidar via use-livecode wrote: I

Re: Building a Board Game

2020-04-07 Thread Roger Guay via use-livecode
Thanks to Tore, Bob and Devin for your suggestions. You have pushed back my frontiers of ignorance! Cheers, Roger > On Apr 7, 2020, at 12:24 PM, Roger Guay via use-livecode > wrote: > > Hi all, > > I know there must be a simple way to do this but it is escaping me at the > moment. How can

Re: Getting started with geographical coordinates

2020-04-07 Thread Alex Tweedly via use-livecode
Thanks. Can’t think of a better place to be locked in! I’m sure Google thinks of what3words as a competitor, but also I suspect w3w keeps their mapping very close to their chest as a proprietary asset. Alex . Sent from my iPad > On 7 Apr 2020, at 16:58, Ben Rubinstein via use-livecode >

Re: Building a Board Game

2020-04-07 Thread Devin Asay via use-livecode
Roger, Rather than moving an object, think about using button icons. This is the basic process: - on mouseDown: check the icon of the target, set the icon of a hidden, moving button to the same icon, set the icon of the target to 0, set a flag—isDragging--to true, show the hidden button -

Re: Building a Board Game

2020-04-07 Thread Bob Sneidar via use-livecode
Just brainstorming, you would have to intercept mouseMove and then have a tolerance of points to your grid. Say three points. Assuming your grid starts at the top left of the window, you would div the top of the object with the vertical grid width, check for tolerance above and below, then set

Re: Building a Board Game

2020-04-07 Thread Tore Nilsen via use-livecode
What I do is to make a grid of named rectangles (they may or may not be visible). I put the names of these into a variable or an array. On mouseUp I traverse the variabel/array to check if the mouseLoc is within any of the rectangles. When there is a match I set the loc of the grabbed control

RE: HilitedItem of a navbar

2020-04-07 Thread Ralph DiMola via use-livecode
Brian, Thanks for getting that into the next release! I will put in a pull request after the release for adding the iconFill property now that is does not change the default behavior. I know it's been asked and answered but... How do I get started to do a PR? If I could get this procedure

Building a Board Game

2020-04-07 Thread Roger Guay via use-livecode
Hi all, I know there must be a simple way to do this but it is escaping me at the moment. How can I move an object (grab me on mouseDown) and have it snap to a grid (square on a board game) on mouseUp? Thanks much, Roger ___ use-livecode mailing

Re: Old Fossil seeks fast track assistance

2020-04-07 Thread Graham Samuel via use-livecode
Devin I am overdue to thank you for this. Up to now, apart from the numerous tasks involved in just keeping going, I have been looking at the functionality of my proposed app - I have already used some of your material on location tracking! However for the deployment side, your links are gold

Re: HilitedItem of a navbar

2020-04-07 Thread matthias rebbe via use-livecode
Thank you very much! Matthias > Am 05.04.2020 um 15:44 schrieb Ralph DiMola via use-livecode > : > > Matts, > No problem brother. I shared this with the list on January 10th. I was warned > that changing default behaviors is a Bozo no no. Here it is again: > > I made 4 changes to the navbar

RE: HilitedItem of a navbar

2020-04-07 Thread Ralph DiMola via use-livecode
I have changed my version to leave the selected it default to 1. This will not change the original behavior but allow you to set it to 0 by script or in the PI. Of course one can set it to zero in a preopencard handler so it initially displays with no item selected. I added a property call

RE: HilitedItem of a navbar

2020-04-07 Thread Brian Milby via use-livecode
The PR is now merged into develop and will be in the next DP.  It only adds the option of selecting nothing but does not make it the default.  We could now work up a PR for the other piece, but I’m not sure about how that one works without downloading and testing (sounds like an option to hide

Re: Go to card has become slow

2020-04-07 Thread Bob Sneidar via use-livecode
Richard, I can verify that my mainStack is pretty big in terms of objects and code. When I create a standalone for Windows however, it breaks out all the substacks into individual stacks, and the saving just the mainStack in a Windows standalone still takes longer than saving the entire

Re: Go to card has become slow

2020-04-07 Thread Richard Gaskin via use-livecode
Neville Smythe wrote: > Richard wrote >> Bob Sneidar wrote: >> >>> In review, I tested saving stacks on a standalone Windows >>> Workstation, a VMWARE VM on a very robust server host, a >>> Parallels VM on a workstation and my Mac. As I am saving >>> the stack, I am watching the folder the stack

Re: Getting started with geographical coordinates

2020-04-07 Thread Ben Rubinstein via use-livecode
What a beautiful view you have! Interesting that Google Maps doesn't accept what3words yet - possibly viewed as a competitor. On 04/04/2020 01:49, Alex Tweedly via use-livecode wrote: And I'm at plump.magpie.tightest (sorry, no calculated height available, not even in annoying feet - but I'd

Re: Getting started with geographical coordinates

2020-04-07 Thread Graham Samuel via use-livecode
Thanks for everyone who has helped with this so far. I have now looked at and tested LC scripts for three different functions for finding the distance - I left one well-known one out (Vincenty) as it’s very complex (it even includes iteration) and I think not justified by what I’m trying to do.