Page 2 of 2

Re: Detect LOSS of 'focus' (SOLVED)

Posted: Mon Sep 15, 2014 11:12 am
by Traxgeek
Hi Simon,

Thanks for the additional help - it was :
[1] I hadn't realised 'focus on nothing' doesn't work on mobile - now I do !!! Thanks. and
[2] TraversalOn/Focussable = true is imperative for this to work - again, now I do !!! Thanks a million.

Where would I be without this forum ? !! :?

Re: Detect LOSS of 'focus' (SOLVED)

Posted: Mon Sep 15, 2014 11:30 am
by dave.kilroy
Hi Traxgeek

'focus on nothing' works fine in mobile - what it doesn't do reliably is prevent focus going to particular objects on opening a stack and hence activating the keyboard...

For example, you could have a 'returninfield' handler in a field to dismiss the keyboard if the user hits the return key (including the return key from the on-screen keyboard). Or you could have a 'mouseup' handler on a card with a 'focus on nothing' statement inside it, that would dismiss the keyboard if the user touched/clicked outside the field...

Re: Detect LOSS of 'focus' (SOLVED)

Posted: Mon Sep 15, 2014 2:24 pm
by Traxgeek
Cheers Dave.

I think I've gotten this one sussed now - thanks to your and Simon's support.
I'm now bashing my head trying to get my data (an sqlite file) created on my desktop whilst creating the initial (desktop) version of my app into my Android App.
I can e-Mail the data out of my mobile app and I can navigate to files created by my mobile app BUT, what I'd like to be able to do is be able to get a file created on the desktop BACK ONTO my mobile app...
I'll raise a topic - see if you gurus have some ideas. It's simple enough on the desktop but whilst I can pull the SD card out of my Android device and put the file I need onto it I can't for the life of me find out how to 'see' / navigate around the SD card or whatever I need to do... the 'problem' as far as i can see at the moment (the light is VERY dim !! ;-) ) is how to 'see' the SD card or...

I feel I've almost learnt enough LC basics to make this fun but I'm not quite there... it's soooo frustrating....

Thanks a mil anyways.