Jump to content

is possible hide keyboard on unigui mobile?


AntonioCuomo

Recommended Posts

i am developing a unigui mobile application. on the forms there are all read-only media. when i run the app or form showmodal the android keyboard is displayed. I set the HIdeKeyboard property to true. but the keyboard is always displayed. isn't there a way to disable it?

Link to comment
Share on other sites

10 minutes ago, AntonioCuomo said:

i am developing a unigui mobile application. on the forms there are all read-only media. when i run the app or form showmodal the android keyboard is displayed.

Hello,

How can we reproduce?

11 minutes ago, AntonioCuomo said:

HIdeKeyboard property

Do you mean HideKeyboardOnEnter?

Link to comment
Share on other sites

On 7/3/2022 at 6:59 PM, AntonioCuomo said:

i am developing a unigui mobile application. on the forms there are all read-only media. when i run the app or form showmodal the android keyboard is displayed. I set the HIdeKeyboard property to true. but the keyboard is always displayed. isn't there a way to disable it?

Hello, try some of this solutions: https://www.google.com/search?q=javascript+hide+keyboard+android&oq=javascript+hide+keyboard+on+a&aqs=chrome.1.69i57j0i22i30j0i390l3.11303j0j7&sourceid=chrome&ie=UTF-8

 

https://stackoverflow.com/questions/8335834/how-can-i-hide-the-android-keyboard-using-javascript

https://codehunter.cc/a/android/how-can-i-hide-the-android-keyboard-using-javascript

https://gist.github.com/cemerson/3907428

Link to comment
Share on other sites

try this:

 

yourEdit.ClientEvents.ExtEvents.Values['afterrender'] :=
                             'function afterrender(sender, eOpts)'+
                             '{  var me=sender.inputEl; me.set({ inputmode: "none" }); }';

Link to comment
Share on other sites

I can't solve the problem of the keyboard appearing. My application only uses read-only unimedit and unibutton. But as soon as I open a form I see the virtual keyboard. With unigui demos the keyboard appears only if you tap on unimedit. The hideKeyboardOn Enter form property does not work. the idea is to have an app in kiosk mode or tapping on button.

Link to comment
Share on other sites

  • 4 weeks later...
On 7/11/2022 at 5:00 AM, AntonioCuomo said:

My application only uses read-only unimedit and unibutton. But as soon as I open a form I see the virtual keyboard.

Hello,

What device are you using? Do you have a simple testcase to test?

Link to comment
Share on other sites

On 7/11/2022 at 3:00 AM, AntonioCuomo said:

I can't solve the problem of the keyboard appearing. My application only uses read-only unimedit and unibutton. But as soon as I open a form I see the virtual keyboard. With unigui demos the keyboard appears only if you tap on unimedit. The hideKeyboardOn Enter form property does not work. the idea is to have an app in kiosk mode or tapping on button.

Hi, can you try to select some button or another component that is not writable (change Activecontrol) when a form is displayed or the TEdit  is selected

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...