ANSWERED: How Do I suppress KB popup on load?

The place to discuss anything and everything about running your LiveCode on Android

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
BarrySumpter
Posts: 1201
Joined: Sun Apr 24, 2011 2:17 am

ANSWERED: How Do I suppress KB popup on load?

Post by BarrySumpter » Mon Mar 26, 2012 1:26 am

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?
Last edited by BarrySumpter on Tue Apr 03, 2012 11:25 am, edited 4 times in total.
All my best,
Barry G. Sumpter

Deving on WinXP sp3-32 bit. LC 5.5 Professional Build 1477
Android/iOS/Server Add Ons. OmegaBundle 2011 value ROCKS!
2 HTC HD2 Latest DorimanX Roms
Might have to reconsider LiveCode iOS Developer Program.

BarrySumpter
Posts: 1201
Joined: Sun Apr 24, 2011 2:17 am

Where to place "focus on nothing" on load to suppress KB?

Post by BarrySumpter » Mon Mar 26, 2012 1:56 am

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?
All my best,
Barry G. Sumpter

Deving on WinXP sp3-32 bit. LC 5.5 Professional Build 1477
Android/iOS/Server Add Ons. OmegaBundle 2011 value ROCKS!
2 HTC HD2 Latest DorimanX Roms
Might have to reconsider LiveCode iOS Developer Program.

BarrySumpter
Posts: 1201
Joined: Sun Apr 24, 2011 2:17 am

Re: Where to place "focus on nothing" on load to suppress KB

Post by BarrySumpter » Sun Apr 01, 2012 12:29 pm

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
All my best,
Barry G. Sumpter

Deving on WinXP sp3-32 bit. LC 5.5 Professional Build 1477
Android/iOS/Server Add Ons. OmegaBundle 2011 value ROCKS!
2 HTC HD2 Latest DorimanX Roms
Might have to reconsider LiveCode iOS Developer Program.

Post Reply

Return to “Android Deployment”