Re: Move command on iOS

2018-08-03 Thread MWCM via use-livecode
Are you testing in iOS 12? This is the exact problem I’m having (that Monte 
just patched today). 

Sounds like it should be fixed in 9.0.1.rc2

--Andrew Bell
--Sent from my iPhone

>>> 
> From: "J. Landman Gay" 
> To: LiveCode Mailing List 
> Subject: Move command on iOS
> Message-ID: 
> Content-Type: text/plain; charset=utf-8; format=flowed
> 
> Anyone else having trouble with the move command on iOS? I'm sliding a 
> group into view, which works the first time, and after that it starts to 
> move and then immediately jumps to its destination without any 
> animation. It works fine in the IDE.
> 
> AccleratedRendering is true and the group layermode is "dynamic". I 
> don't have an actual phone to try it on, so maybe this is a simulator 
> problem?
> 
> -- 
> Jacqueline Landman Gay | jac...@hyperactivesw.com
> HyperActive Software   | http://www.hyperactivesw.com
> 


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Search a multidimensional array

2018-04-20 Thread MWCM via use-livecode
I tried to be a good developer and search the list before posting: 
multidimensional array search turned up some posts from 2014 but most “sort 
array” searches only returned single dimensional array options. 

I just started using encodedArrays on a recent project and fell in love with 
the simplicity. They have worked for all my previous efforts, but I’ve never 
had more than ~300 keys to deal with so a simple repeat loop always worked fast 
enough. 

I’ve used MySQL database queries in the past with success (thanks to the 
awesome API that HostM has provided), but this particular data set isn’t stored 
in an online database and offline access is required due to client 
circumstances. Before Livecode I’d never dealt with databases at all, so I’m an 
SQLlite virgin. Looks pretty straight forward though. 

--Andrew Bell
--Sent from my iPhone

> On Apr 20, 2018, at 12:10 PM, use-livecode-requ...@lists.runrev.com wrote:
> 
> Andrew, you don't peruse this list much, do you? :-)
> 
> A recent thread has been going on about just this issue. The upshot is that 
> one pass through the array is obviously needed for the sqLite conversion, but 
> after that multiple queries can be done much more efficiently. I have code 
> already written that converts an array to a memory sqLite database. Once you 
> do that, you can index on the columns you query most often. Contact me off 
> list and I will send it to you. 
> 
> As an aside, why not just use an sqLite database out of the gate? And to the 
> rest of the list, there should probably be a way to import a file based 
> sqlite database into a memory database and then back again for speed. 
> 
> Bob S


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Anyone else got two-monitor issues with LC9 on Mac?

2018-01-14 Thread MWCM via use-livecode
I have an issue that isn’t exactly the same but may be related. Seldom do I 
work on two monitors, but my display configuration is constantly changing.  My 
primary development machine is a 15” Retina MacBook Pro. The main project I 
work on is a large stack (iPhone 7 native resolution) stack that I work with at 
a scaleFactor of 0.5 so it fits on my internal Retina display and doesn’t take 
too much screen real estate on the external. 

When on-the-go, I use the Retina display in the “almost largest display” 
setting (not the far right biggest resolution option and not the middle 
recommended option). 

When in the office I work docked (laptop closed) and connect the laptop to an 
external keyboard/mouse and external 4K display (via mini DisplayPort) and 
sometimes also a 1080i (via HDMI). When docked, I NEVER use the built-in 
display.

Every time I launch that stack, the top of the stack is off the top of my 
screen. Doesn’t matter what display setup I’m using, I always have to open the 
stack inspector and change the Y position of the stack so the whole thing 
appears on my screen. 

--Andrew Bell
--Sent from my iPhone

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Android build executable on test device fails

2018-01-13 Thread MWCM via use-livecode

> Date: Sun, 14 Jan 2018 09:15:48 +0900
> From: Nicolas Cueto 
> To: How to use LiveCode 
> Subject: Re: Android build executable on test device fails
> Message-ID:
>
> Content-Type: text/plain; charset="UTF-8"
> 
> The problem is on 8.1.8.
> 
> Any idea what the subject of that thread was?
> 

I was hoping I would be able to get something useful as I had a similar problem 
but the user found the problem object on their own. 

http://lists.runrev.com/pipermail/use-livecode/2018-January/244253.html

--Andrew Bell
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Android build executable on test device fails

2018-01-13 Thread MWCM via use-livecode

> Testing on an Android device, the "Standalone builder progress" window
> shows first "Building classes" and then for a brief moment "Building
> executable", after which an error window reads "Unable to build app for
> testing: could not open module file".
> 
> Searched the forums but no mention at all of this problem.
> 
> --
> Nicolas Cueto
> 

Someone else on the list had this problem within the week, but had a different 
subject for the thread. I believe their issue was some code or widget lurking 
around without proper inclusions. 

What version of Livecode are you compiling with? I’ve had the same problem 
recently with a stack that I’ve tried to compiler in 8.1.8. I fear I opened 
this in 9dp11 to see the new dataGrid2 in action and saved the stack without 
backwards compatibility. This isn’t strictly Android as I was building for iOS 
when the error manifested. 

—Andrew Bell

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: use-livecode Digest, Vol 172, Issue 15

2018-01-06 Thread MWCM via use-livecode

> Looks like the FillInData handler in your row template script has an error
> in it. Maybe some data isn?t what the script expects? Check line 79 and see
> if there might be an error there.
> 
> -- 
> Trevor DeVore
> ScreenSteps
>> 

Nailed it. I have a sub-routine that tries to use an image thumbnail for each 
row and this new image had some weird naming issues so it didn’t load properly. 
I need to wrap a try statement around it and use a fallback. Thank you Trevor!

-Andrew Bell

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode