Hiding The Keyboard.

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

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
Googie85
Posts: 200
Joined: Tue Aug 05, 2014 10:07 am

Hiding The Keyboard.

Post by Googie85 » Sun May 12, 2024 10:51 am

Hii Guys!

I am not at my PC at the moment. I was wondering if there is a command that can hide an active on screen keyboard? Maybe - focus on image "test" -?

Many Thanks,

Matt.

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9445
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: Hiding The Keyboard.

Post by richmond62 » Sun May 12, 2024 2:25 pm

Do you mean the on-screen keyboard on a phone, or one on a computer screen?

Klaus
Posts: 13863
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: Hiding The Keyboard.

Post by Klaus » Sun May 12, 2024 3:55 pm

Hi Matt,

Code: Select all

focus on nothing
should do the trick.

Best
Klaus

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9731
Joined: Wed May 06, 2009 2:28 pm
Location: New York, NY

Re: Hiding The Keyboard.

Post by dunbarx » Sun May 12, 2024 9:08 pm

The OP did mention not being at his PC, when surely he meant not having his phone in hand.

Otherwise I am really confused.

Klaus, In general, does "focus on nothing" hide a mobile keyboard?

Craig

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9445
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: Hiding The Keyboard.

Post by richmond62 » Mon May 13, 2024 9:20 am

Unlike some people I did not jump to conclusions, and spent far too much time attempting to hide a MacOS on-screen keyboard:
-
Screen Shot 2024-05-13 at 11.16.49 am.jpg
-
As that floats over every LC stack and palette I suspect it cannot be done.

Klaus
Posts: 13863
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: Hiding The Keyboard.

Post by Klaus » Mon May 13, 2024 12:26 pm

dunbarx wrote:
Sun May 12, 2024 9:08 pm
...Klaus, In general, does "focus on nothing" hide a mobile keyboard?
Yes.

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9731
Joined: Wed May 06, 2009 2:28 pm
Location: New York, NY

Re: Hiding The Keyboard.

Post by dunbarx » Mon May 13, 2024 2:13 pm

The on-screen keyboard, which I have used only to find what certain keys represent if, say, I press the option key, is an OS gadget. LC cannot hide OS gadgets, any more than it could hide, say, an open excel spreadsheet.

Perhaps LC could use appleEvents?

Craig

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9731
Joined: Wed May 06, 2009 2:28 pm
Location: New York, NY

Re: Hiding The Keyboard.

Post by dunbarx » Mon May 13, 2024 2:15 pm

And now I believe what the OP actually said, that it is a desktop issue.

@ Matt. What are you trying to do?

Craig

Klaus
Posts: 13863
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: Hiding The Keyboard.

Post by Klaus » Mon May 13, 2024 2:29 pm

We are in the ANDROID forum, so we can presume this is a mobile problem. 8)

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9731
Joined: Wed May 06, 2009 2:28 pm
Location: New York, NY

Re: Hiding The Keyboard.

Post by dunbarx » Mon May 13, 2024 3:29 pm

Klaus.

I did mention that the OP's original post was confusing to me. And Richmond.

Matt???

Craig

Post Reply

Return to “Android Deployment”