Page 1 of 1

Clear numeric keypad

Posted: Thu Mar 26, 2015 10:29 am
by davidmills
I have called the numeric keypad on my card with mobileSetKeyboardType "numeric" to use on four fields and all works fine. Then when I tap the GO button on the same card which gives me the calculated results of the four fields, this numeric keypad is hiding most of my results until I tap an area of the screen to clear it. So how can I script the GO button to remove the numeric keypad before doing the calculations which I presume is an on keydown script before the on mouseup script calculations?
I guess on my searching for the answer using Google Livecode I'm just not using the correct wording.
Thanks
Dave

Re: Clear numeric keypad

Posted: Thu Mar 26, 2015 12:02 pm
by Klaus
Hi Dave,

add this line to your script, that should fix your inconvenience:
...
focus on nothing
...


Best

Klaus

Re: Clear numeric keypad

Posted: Thu Mar 26, 2015 5:42 pm
by davidmills
Thank you Klaus, just the job.
Dave

Re: Clear numeric keypad

Posted: Thu Mar 26, 2015 8:53 pm
by richmond62
Klaus:

"focus on nothing"

I really wish by focussing on nothing (something I seem to be very good at) I could get some work done.

LOL.