Page 1 of 1
ANSWERED: How Do I suppress KB popup on load?
Posted: Mon Mar 26, 2012 1:26 am
by BarrySumpter
My app always popsup with a keyboard on first load.
I've tried the 'focus on nothing' in a number of places.
But the keyboard keeps popping up.
Anyone have a technique to keep the keyboard from popping up on first app load?
Where to place "focus on nothing" on load to suppress KB?
Posted: Mon Mar 26, 2012 1:56 am
by BarrySumpter
Something to do with Focusable/TraverseOn
If I set all the textbox controls Focusable property to false,
the keyboard does NOT appear.
I wonder if I set them all off,
on openCard - Set focus to nothing,
then a timer after 1 seconds turns them all on?
Re: Where to place "focus on nothing" on load to suppress KB
Posted: Sun Apr 01, 2012 12:29 pm
by BarrySumpter
Thanks Peter,
This works on Android as well.
Contents focus with keyboard ticked OFF
And allows me click into the field for editing.
Without having to change each text field in the group Focusable/TraverseOn back on to true.
---------------
Message: 21
Date: Sat, 31 Mar 2012 23:02:36 -0400
From: "Peter M. Brigham, MD" <
pmbrig@gmail.com>
To: How to use LiveCode <
use-livecode@lists.runrev.com>
Subject: Re: field focused but why ?
Message-ID: <
056672C1-CFC0-4ED2-A307-0F917DF34A10@gmail.com>
Content-Type: text/plain; charset=us-ascii
If you put the field into a group and set the group's traversalon to false, it will prevent the field from getting the focus on opencard, at least in desktop stacks. Don't know if this works in iOS too.
-- Peter
Peter M. Brigham
pmbrig@gmail.com
http://home.comcast.net/~pmbrig