Re: How to dismiss keyboard on mobile

2018-05-10 Thread J. Landman Gay via use-livecode
Just to clarify: Your sample handler specifically removed focus, so I'm assuming the engine doesn't do that. It sounds like inputReturnKey is the mobile equivalent of the standard returnInField message, but for native fields. But the ambiguous part is the dictionary reference to "the return key

Re: How to dismiss keyboard on mobile

2018-05-10 Thread Sannyasin Brahmanathaswami via use-livecode
No go on my Pixel Hit return, nothing happens. with is working as expected iOS on inputReturnKey focus on nothing end inputReturnKey I tackle it tomorrow BR Are you using a native mobile field? If not then... on returnInField focus on nothing exit returnInFiel

Re: How to dismiss keyboard on mobile

2018-05-10 Thread Terry Judd via use-livecode
Are you using a native mobile field? If not then... on returnInField focus on nothing exit returnInField end returnInField HTH, Terry... On 11/05/2018 12:41 pm, "use-livecode on behalf of Sannyasin Brahmanathaswami via use-livecode" wrote: Just tried in minutes ago

Re: How to dismiss keyboard on mobile

2018-05-10 Thread Sannyasin Brahmanathaswami via use-livecode
Just tried in minutes ago didn't work. in the field on inputReturnKey focus on nothing end inputReturnKey did not work. Plus there is whole card "raised" on so that bottom is the top of keyboard Mike Kerner wrote: The sequence is return key is pressed focus is removed

Re: How to dismiss keyboard on mobile

2018-05-10 Thread Mike Kerner via use-livecode
The sequence is return key is pressed focus is removed ___ 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-live

Re: How to dismiss keyboard on mobile

2018-05-10 Thread J. Landman Gay via use-livecode
I'd forgotten about this too. The description says: "Handle the inputReturnKey message if you want to make changes to the interface or perform an action when the return key is pressed and focus is removed from an iosTextInput, androidTextInput or androidMultiline control." This is ambiguous.

Re: How to dismiss keyboard on mobile

2018-05-10 Thread Sannyasin Brahmanathaswami via use-livecode
(banging my head on the wall) "You have read the dictionary! You have to read the dictionary!" ha! Little did I know that: -- Mike Kerner wrote: I personally use *on* inputReturnKey *focus* *on* nothing *end* inputReturnKey BR

Re: Active window and mouse location

2018-05-10 Thread Phil Davis via use-livecode
Hi Douglas, Apologies if I'm misunderstanding the problem or if someone already suggested this, but won't the stack come to the front if you just say "go to stack tMyStack" ?  Seems to me that would make it the topStack, which is apparently what you want (as I read it). Or if the stack is a

Re: How to dismiss keyboard on mobile

2018-05-10 Thread Mike Kerner via use-livecode
I personally use *on* inputReturnKey *focus* *on* nothing *end* inputReturnKey On Thu, May 10, 2018 at 6:02 PM Tore Nilsen via use-livecode < use-livecode@lists.runrev.com> wrote: > You could also try: > > on returnInField > > focus on nothing > > end returnInField > > > in the field script.

Re: How to dismiss keyboard on mobile

2018-05-10 Thread Tore Nilsen via use-livecode
You could also try: on returnInField focus on nothing end returnInField in the field script. That seems to do the trick on desktop at least, whereas on returnKey does not when it is placed in the field script. Tore Nilsen > 10. mai 2018 kl. 23:44 skrev J. Landman Gay via use-livecode > :

Re: How to dismiss keyboard on mobile

2018-05-10 Thread J. Landman Gay via use-livecode
On 5/10/18 4:21 PM, Sannyasin Brahmanathaswami via use-livecode wrote: Really… putting this in the field should dismiss the keyboard on returnKey closeField exitField end returnKey These are engine messages, not commands. They are sent when the user does something, and it's up to the

Re: How to dismiss keyboard on mobile

2018-05-10 Thread J. Landman Gay via use-livecode
On 5/10/18 4:30 PM, Sannyasin Brahmanathaswami via use-livecode wrote: is they way to use to this? in group script? Jacqueline wrote: on selectionChanged focus on nothing end selectionChanged It goes into the field where the selections are made. When

Re: How to dismiss keyboard on mobile

2018-05-10 Thread Sannyasin Brahmanathaswami via use-livecode
You can't put that into your other radio buttons on the Search UI panel. You can't put it into the search button (you want the next take makes choices before search) It goes to: create a "Done" control, like in iOS, for the keyboard. how to get the bottom coordinate of the area above keyboard?

Re: How to dismiss keyboard on mobile

2018-05-10 Thread Sannyasin Brahmanathaswami via use-livecode
Well, all good, but still, IMHO, a hack go the https://quality.livecode.com/show_bug.cgi?id=20456 Maybe should make a separate report. Really… putting this in the field should dismiss the keyboard on returnKey closeField exitField end returnKey They enter text, hit return, keyboard

Re: How to dismiss keyboard on mobile

2018-05-10 Thread J. Landman Gay via use-livecode
On 5/10/18 12:57 PM, J. Landman Gay via use-livecode wrote: Well, my last post just broke my own rule. But it wasn't a great suggestion so basically the rule still holds. I don't see that post, so here it is again in case it got lost in the ether: on selectionChanged focus on nothing end sel

Re: How to dismiss keyboard on mobile

2018-05-10 Thread J. Landman Gay via use-livecode
Well, my last post just broke my own rule. But it wasn't a great suggestion so basically the rule still holds. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On May 10, 2018 12:13:34 PM Bob Sneidar via use-livecode wrote: Thanks to Ja

Re: How to dismiss keyboard on mobile

2018-05-10 Thread Bob Sneidar via use-livecode
Thanks to Jacque who explained this to me some years back. (I won't say how many years out of respect...) ;-) Bob S > On May 10, 2018, at 10:01 , Stephen Barncard via use-livecode > wrote: > > I've been struggling with this dilemma for years. thanks > > sqb > > -- > Stephen Barncard - Seba

Re: How to dismiss keyboard on mobile

2018-05-10 Thread Stephen Barncard via use-livecode
I've been struggling with this dilemma for years. thanks sqb -- Stephen Barncard - Sebastopol Ca. USA - mixstream.org On Thu, May 10, 2018 at 8:29 AM, Bob Sneidar via use-livecode < use-livecode@lists.runrev.com> wrote: > It's not something you would put in a field. Focus on nothing is somethin

Re: Active window and mouse location

2018-05-10 Thread Bob Sneidar via use-livecode
Go card/stack?? Bob S > On May 10, 2018, at 01:44 , Klaus major-k via use-livecode > wrote: > >> Am 09.05.2018 um 23:34 schrieb Douglas Ruisaard via use-livecode >> : >> >> Thanks, Mike... but this doesn't make my LC screen active... it does flicker >> it but leaves it in buried under the

Re: How to dismiss keyboard on mobile

2018-05-10 Thread Bob Sneidar via use-livecode
It's not something you would put in a field. Focus on nothing is something you send to lose focus on any object that currently has the focuw. For instance, you have a field which calls a validation function upon closeField. You have a button that saves the information in the field somewhere. A

Re: Active window and mouse location

2018-05-10 Thread Mike Bonner via use-livecode
Oh, one other option for windows would be vbscript. Unfortunately, I don't think you can "do myScript as vbscript" because (according to the dictionary) the required objects aren't available to livecode using that method. You can however, create a .vbs file with a script that should be able to b

Re: Active window and mouse location

2018-05-10 Thread Mike Bonner via use-livecode
Hmm Just a curiosity question to further the experiment if you don't mind.. I had been thinking you could use the "click" command to bring things to front, but if its not in front you can't do that. So out of curiosity.. If you set it to a system window so that its in front of everything, and th

Re: How to dismiss keyboard on mobile

2018-05-10 Thread Sannyasin Brahmanathaswami via use-livecode
on returnInField focus on nothing end returninfield # when I put that into field itself: does nothing: # on android I get a carriage return in the field on hitting returnkey maybe it has to do with what Jacqueline said " "These are just messages that the engine sends when the focus changes,

Re: Active window and mouse location

2018-05-10 Thread Douglas Ruisaard via use-livecode
More specifically, if I increase the "wait", the desired windows comes to the foreground, the wait expires and then it "retreats" back behind the other window(s) to its original placement. Neat trick for a timed "pop-up" window. Without the "false" reset, the window remains as the foreground w

Re: Active window and mouse location

2018-05-10 Thread Klaus major-k via use-livecode
Hi Doug, > Am 09.05.2018 um 23:34 schrieb Douglas Ruisaard via use-livecode > : > > Thanks, Mike... but this doesn't make my LC screen active... it does flicker > it but leaves it in buried under the top window. > I'll check out those links, Lagi... thanks for the research > > Thanks to Bo