Any way to inhibit on-screen keyboard ?
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Any way to inhibit on-screen keyboard ?
Greetings:
If I have a card with text entry fields, the on-screen keyboard seems to pop-up when the card loads.
Is there some way to inhibit this behavior, such that the keyboard only appears when the user taps inside a text entry area?
Many tkx...
--paul
If I have a card with text entry fields, the on-screen keyboard seems to pop-up when the card loads.
Is there some way to inhibit this behavior, such that the keyboard only appears when the user taps inside a text entry area?
Many tkx...
--paul
-
- Livecode Opensource Backer
- Posts: 328
- Joined: Mon Dec 05, 2011 5:34 pm
- Contact:
Re: Any way to inhibit on-screen keyboard ?
Hi,
try putting a
in the preopencard or opencard handler. That might work.
Cheers,
Dave
try putting a
Code: Select all
focus on nothing
Cheers,
Dave
Coding in the Sun - So much Fun.
Visit http://electronic-apps.info for released App information.
Visit http://electronic-apps.info for released App information.
Re: Any way to inhibit on-screen keyboard ?
Thanks Dave. I tried both places, but it didn't help.
Good advice tho for a Saturday evening ... a few beers and focus on nothing!
--paul
Good advice tho for a Saturday evening ... a few beers and focus on nothing!

--paul
Re: Any way to inhibit on-screen keyboard ?
Code: Select all
on preOpenCard
repeat with x = 1 to number of fields
set the lockText of fld x to true
set the traversalOn of fld x to false
end repeat
send "initiateCard" to me in 0 millisecs
end preOpenCard
on initiateCard
repeat with x = 1 to number of fields
set the lockText of fld x to false
set the traversalOn of fld x to true
end repeat
end initiateCard
Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
Re: Any way to inhibit on-screen keyboard ?
Thank you Mark. That's what I needed. But tell me...
(yes, this is a bit off topic)
HOW did you know that? I'm often amazed by some of the answers I get in the forum. Does everyone treat the LC Dictionary as their favorite bedtime reading?
I had googled. I had searched the forum. And without asking for help, I don't think I would ever have found the answer.
Plowing thru the dictionary one command at a time, and trying to understand what each one does, seems to be the only way to gain a full working knowledge of LC. Or am I missing something?
--paul
(yes, this is a bit off topic)
HOW did you know that? I'm often amazed by some of the answers I get in the forum. Does everyone treat the LC Dictionary as their favorite bedtime reading?
I had googled. I had searched the forum. And without asking for help, I don't think I would ever have found the answer.
Plowing thru the dictionary one command at a time, and trying to understand what each one does, seems to be the only way to gain a full working knowledge of LC. Or am I missing something?
--paul
Re: Any way to inhibit on-screen keyboard ?
I think some people probably do.paulsr wrote: HOW did you know that? I'm often amazed by some of the answers I get in the forum. Does everyone treat the LC Dictionary as their favorite bedtime reading?

If you'd like a double dose of LiveCode, join the mailing list. You can do that here:
http://lists.runrev.com/mailman/listinfo/use-livecode/
If you want to search the years and years of valuable info from that list, it is archived on both nabble and gmane. So in addition to searching the forums, search either of these places (they are duplicates, so you only need to choose the one you like best):
http://dir.gmane.org/gmane.comp.ide.revolution.user
http://runtime-revolution.278305.n4.nabble.com/
You will almost always find the answer to any question in the list archives.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
Re: Any way to inhibit on-screen keyboard ?
Thank you for taking the time to reply Jacqueline.
After a few months of coding, I was starting to feel I should be beyond the newbie stage, but I keep hitting roadblocks that only others can solve for me.
So, your message is that I need to keep coding, keep learning, keep asking questions, and in a year or three I might reach the semi-expert stage. Hmm, okay.
I confess I was only vaguely aware of the mailing list, and had assumed it was just a mirror of the forum. Now that I know otherwise, for sure, I will sign up.
The forum is a nice place though. Even the stupidest and naïvest question seems to get a polite and helpful response. That's rare. Most forums just ignore newbies, or they provide terse and unhelpful responses, that basically say, "go away, we're experts."
Okay, back to coding and learning...
--paul
After a few months of coding, I was starting to feel I should be beyond the newbie stage, but I keep hitting roadblocks that only others can solve for me.
So, your message is that I need to keep coding, keep learning, keep asking questions, and in a year or three I might reach the semi-expert stage. Hmm, okay.
I confess I was only vaguely aware of the mailing list, and had assumed it was just a mirror of the forum. Now that I know otherwise, for sure, I will sign up.
The forum is a nice place though. Even the stupidest and naïvest question seems to get a polite and helpful response. That's rare. Most forums just ignore newbies, or they provide terse and unhelpful responses, that basically say, "go away, we're experts."
Okay, back to coding and learning...
--paul
Re: Any way to inhibit on-screen keyboard ?
The mailing list is as friendly as the forums. It's a wonderful group, and many of the people you know from here are on both. You'll be right at home.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
Re: Any way to inhibit on-screen keyboard ?
I Paul, I often find myself doing your same considerationspaulsr wrote:I had googled. I had searched the forum. And without asking for help, I don't think I would ever have found the answer.
