Re: Trapping for Hide Keyboard on iOS?

2013-04-14 Thread Gerry Orkin
John If you just want to use LC fields they can be grouped and moved via script to upwards new locations when the keyboard is activated. Gerry On 15/04/2013, at 3:01 PM, JOHN PATTEN wrote: > The idea I was trying for was that if there were fields at the bottom of my > card that the iOS key

Re: Trapping for Hide Keyboard on iOS?

2013-04-14 Thread JOHN PATTEN
Thanks Jacqueline… The keyboardactivated and keyboardDeactivated messages work well to show the generic field at the top of the card. But because I am activating the keyboard using a field at the bottom of my window, the focus stays within that bottom field and not in my newly displayed field a

Re: [OT] Kickstarter bag

2013-04-14 Thread Mark Talluto
On Apr 14, 2013, at 11:58 AM, Colin Holgate wrote: > I think it's fair to say that the Kickstarter campaign has changed all of our > lives in some way! There are going to be other KS things that are intriguing, > and I think it ought to be ok to mention them here? I mean, so long as it > isn't

Re: Trapping for Hide Keyboard on iOS?

2013-04-14 Thread Gerry Orkin
John Yes, use a native input control (see page 70 of the 6.0 iOS release notes). When the user taps in the control the keyboard shows (or you can have it show when the control is initially created or made visible). You can specify that your keyboard has a "Done" key - hitting that will hide the

Re: Trapping for Hide Keyboard on iOS?

2013-04-14 Thread J. Landman Gay
On 4/14/13 5:13 PM, JOHN PATTEN wrote: Hi All… Looking for some easy strategies for adding text to fields on an iOS app. The standard iOS keyboard appears on the screen at the same place each time. I was hoping to show a hidden field at the remaining screen real-estate above the keyboard. I was

Re: Moving controls smoothly around the screen

2013-04-14 Thread Peter Haworth
Thanks Tom. I might just go that route - would save me a lot of headaches! Pete lcSQL Software On Sun, Apr 14, 2013 at 3:38 PM, Thomas McGrath III wrote: > Tactile Media includes an accordion style menu on their site. > http://tmtools.tactilemedia.com/tmcontrol/themes.ht

Re: Moving controls smoothly around the screen

2013-04-14 Thread Peter Haworth
Thanks Craig, that's a completely different approach but sounds like it could work. I'll give it a try and let you know what happens. Pete lcSQL Software On Sun, Apr 14, 2013 at 3:35 PM, wrote: > Pete. > > > Have you tried using the "drag" command, setting the "dragSpee

Re: Moving controls smoothly around the screen

2013-04-14 Thread Thomas McGrath III
Tactile Media includes an accordion style menu on their site. http://tmtools.tactilemedia.com/tmcontrol/themes.html# Half way down on the left. Very cool. I've used it and it works well. Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgra...@mac.com On Apr 14, 2013, at 5:27 AM, Paul Magui

Re: Moving controls smoothly around the screen

2013-04-14 Thread dunbarx
Pete. Have you tried using the "drag" command, setting the "dragSpeed" as you require? Craig -Original Message- From: Peter Haworth To: How to use LiveCode Sent: Sun, Apr 14, 2013 3:20 pm Subject: Re: Moving controls smoothly around the screen All, Thanks for all the ideas. I'll

Trapping for Hide Keyboard on iOS?

2013-04-14 Thread JOHN PATTEN
Hi All… Looking for some easy strategies for adding text to fields on an iOS app. The standard iOS keyboard appears on the screen at the same place each time. I was hoping to show a hidden field at the remaining screen real-estate above the keyboard. I was thinking of using the focus within a u

Re: A small programming challenge

2013-04-14 Thread Alex Tweedly
Yes, a few interesting aspects. I too was surprised that the (intuitive) array method was slower than the string-based method, so I looked into it some more. The string method took 35-37 msec on my machine. The array method took 84-85 msecs. But i realized that as well as changin string -> a

Re: LiveCode and Rails

2013-04-14 Thread Monte Goulding
I've released it so far only as GPL and plan to release it dual license. If there'a pressure from people that want to buy it then that will encourage me to make that a higher priority but so far nobody has asked me about a license. There's binaries under a free account at mergExt.com Cheers --

Re: Moving controls smoothly around the screen

2013-04-14 Thread Scott Morrow
Hello Pete, I use Animation Engine for a lot of stuff, but for sliding something up or down (iOS & Android only), sometimes this works well: lock screen for visual effect in rect x,y -- reposition object here unlock screen with visual effect scroll down very fast -- Scott Morrow Elementary Sof

Re: Moving controls smoothly around the screen

2013-04-14 Thread Peter Haworth
OK, quick report back. I added Colin's code to Paul's stack (but left the move rate at 20 ticks) and it worked nicely but the movement was somewhat jerky. Searching around the archives, I came across some comments about the syncRate setting, so I set it to 10 and everything worked very smoothly.

Re: Moving controls smoothly around the screen

2013-04-14 Thread Peter Haworth
All, Thanks for all the ideas. I'll try all and report back. Larry: I do need the groups to appear below the button they are associated with, not above. Pete lcSQL Software On Sun, Apr 14, 2013 at 10:28 AM, J. Landman Gay wrote: > On 4/14/13 12:19 PM, Peter Haworth wro

[OT] Kickstarter bag

2013-04-14 Thread Colin Holgate
I think it's fair to say that the Kickstarter campaign has changed all of our lives in some way! There are going to be other KS things that are intriguing, and I think it ought to be ok to mention them here? I mean, so long as it isn't a "special process for making blue cheese faster", though I

RE: Moving controls smoothly around the screen

2013-04-14 Thread Apps Foundry
Pete: Perhaps I'm missing a key detail of how you want to move things around, but I can make a group of buttons move smoothly using: * * *on mouseUp* *put the loc of group "btns" into theLoc* *add 100 to item 2 of theLoc* *move group "btns" to theLoc in 500 milliseconds* *end mouseUp*

Re: Moving controls smoothly around the screen

2013-04-14 Thread Colin Holgate
There is a problem I think, in that the wipe is throttled by the refresh rate of the screen, and ends up being slow even if you say "very fast". Here is a change of the second button script, where I removed the wipe, and also show the group after the showing of the button 2 list. I sped up the m

Re: Moving controls smoothly around the screen

2013-04-14 Thread Paul Hibbert
Peter, You can do a move in time, I had a go at an accordion style menu system (like your example below), but couldn't make the group reveal and move the remaining buttons simultaneously, although it didn't look too bad. Anyway, the test I did is here if it helps… https://www.dropbox.com/s/m8l

Re: Moving controls smoothly around the screen

2013-04-14 Thread J. Landman Gay
On 4/14/13 12:19 PM, Peter Haworth wrote: so far, I haven't found a way to make the move command do anything but snap the moved objects from their original location to the new one. Lock moves. Issue "move" commands for each object with the parameter "without waiting". Unlock moves. -- Jacque

Re: Moving controls smoothly around the screen

2013-04-14 Thread Peter Haworth
Hi Craig, You pretty much have it. I've seen it referred to as "an accordion" elsewhere. Perhaps to clarify further, the initial display would be: Button1 Button2 Button3 Button4 WHen Button 2 is clicked, the display would be: Button1 Button2 Group2 Button3 Button4 If Button 1 was then clic

Re: LiveCode and Rails

2013-04-14 Thread Andrew Kluthe
whaaa? I knew you were working on this, but it's available? I rely heavily on json for my applications that use mongoDB. On Sat, Apr 13, 2013 at 2:37 AM, Monte Goulding wrote: > Don't forget there's a dual licensed cross platform external that does > ArrayToJSON so all you need to do is worry a

Re: Foreign characters in file names

2013-04-14 Thread in...@kenjikojima.com
Hi Thomas, Mac OS uses "UTF-8-MAC" for a file path. We can import a unicode text file into a text field by AppleScript, but cannot read a file path. Probably "UTF-8-MAC" can be converted to "UTF-8" by AppleScript or others. I am not sure. -- Kenji Kojima / 小島健治 http://www.kenjikojima.com/ O

Re: Foreign characters in file names

2013-04-14 Thread Thomas Fischer
Hello Kenji, thank you for the hint. I tried something similar before, and I'm afraid your method doesn't help, and actually seems to confirm what I suspected, that LiveCode as it is (I'm using 6.0.0 now) isn't able to handle foreign characters in file names. To be more precise: my impression is

Re: Moving controls smoothly around the screen

2013-04-14 Thread Björnke von Gierke
There's a trial at the store (yellow button): http://www.runrev.com/store/product/animation-engine-5/ Note that Malte said he'll open source it soon. I suggest to contact him before you buy. On 14.04.2013, at 11:27, Paul Maguire wrote: > Hi. > > My first post here - been lurking a whole 48 h

Re: Moving controls smoothly around the screen

2013-04-14 Thread Paul Maguire
Great! Thanks for the prompt response. I'll check it out. Regards, Paul. On 14 Apr 2013, at 10:38, Malte Brill wrote: > Hi Paul, > > welcome to the list. I am the author of said library. :-) > > You can find animationEngine (the dual licensed version) on my server: > > http://derbrill.de/

Re: Moving controls smoothly around the screen

2013-04-14 Thread Malte Brill
Hi Paul, welcome to the list. I am the author of said library. :-) You can find animationEngine (the dual licensed version) on my server: http://derbrill.de/animationEngine5.0.2.zip It comes with a PDF and a few example stacks. It will take a little while before this is moved to github and the

Re: Moving controls smoothly around the screen

2013-04-14 Thread Paul Maguire
Hi. My first post here - been lurking a whole 48 hours :-) I recognise a couple if names here from the Director DIRECT-L list... Anyways "hello world"! I'm reasonably new to Livecode. I'm intrigued by the Animation Engine - I'd like to know more but can't find any demos or examples or trial ve