Hide Device Keyboard - question

NJDude

Expert
Licensed User
Longtime User
I've noticed that if you use the new 'HideKeyboard' on a TEXT box you have to press entrer twice to hide it, but, if the edit box is DECIMAL_NUMBERS 1 enter will hide the keyboard, I have the Force done (on the designer) set to true.

Is that a normal behavior or is an Android bug <?> or B4A?
 
If you set ForceDone to true then the keyboard should hide automatically. You do not need to call HideKeyboard.

How is this accomplished on an inputdialog where the input is INPUT_TYPE_TEXT?
 
Upvote 0
sorry i did not explain properly I am using the following code

Code:
Dim dlgPassword As InputDialog

dlgPassword.Input = dlgPassword.INPUT_TYPE_TEXT    
dlgPassword.PasswordMode = True
ans = dlgPassword.Show("Enter your password below.", "Password", "Ok", "","",Null)
Passwordinput = dlgPassword.Input

when the password has been entered the keyboard stays on screen. How do i hide it without using "ph.HideKeyboard(Activity)"
 
Last edited:
Upvote 0
Back
Top