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: 227
Joined: Tue Aug 05, 2014 10:07 am

Hiding The Keyboard.

Post by Googie85 »

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: 10415
Joined: Fri Feb 19, 2010 10:17 am

Re: Hiding The Keyboard.

Post by richmond62 »

Do you mean the on-screen keyboard on a phone, or one on a computer screen?
Klaus
Posts: 14324
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Hiding The Keyboard.

Post by Klaus »

Hi Matt,

Code: Select all

focus on nothing
should do the trick.

Best
Klaus
dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10501
Joined: Wed May 06, 2009 2:28 pm

Re: Hiding The Keyboard.

Post by dunbarx »

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: 10415
Joined: Fri Feb 19, 2010 10:17 am

Re: Hiding The Keyboard.

Post by richmond62 »

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: 14324
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Hiding The Keyboard.

Post by Klaus »

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: 10501
Joined: Wed May 06, 2009 2:28 pm

Re: Hiding The Keyboard.

Post by dunbarx »

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: 10501
Joined: Wed May 06, 2009 2:28 pm

Re: Hiding The Keyboard.

Post by dunbarx »

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: 14324
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Hiding The Keyboard.

Post by Klaus »

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: 10501
Joined: Wed May 06, 2009 2:28 pm

Re: Hiding The Keyboard.

Post by dunbarx »

Klaus.

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

Matt???

Craig
Post Reply