NJDude Expert Licensed User Longtime User Jul 18, 2011 #1 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?
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?
Erel B4X founder Staff member Licensed User Longtime User Jul 18, 2011 #2 How are you calling HideKeyboard? Upvote 0
NJDude Expert Licensed User Longtime User Jul 18, 2011 #3 I have: Code: Sub Globals Dim p As Phone . . . Then: Code: Sub AmountBox_EnterPressed p.HideKeyboard(Activity) End Sub Upvote 0
I have: Code: Sub Globals Dim p As Phone . . . Then: Code: Sub AmountBox_EnterPressed p.HideKeyboard(Activity) End Sub
Erel B4X founder Staff member Licensed User Longtime User Jul 19, 2011 #4 If you set ForceDone to true then the keyboard should hide automatically. You do not need to call HideKeyboard. Upvote 0
If you set ForceDone to true then the keyboard should hide automatically. You do not need to call HideKeyboard.
agraham Expert Licensed User Longtime User Jul 19, 2011 #5 I've tried various combinations but I can't reproduce the need to press Enter twice. Care to post a small project that displays it on your device and I'll try it on my devices? Upvote 0
I've tried various combinations but I can't reproduce the need to press Enter twice. Care to post a small project that displays it on your device and I'll try it on my devices?
NJDude Expert Licensed User Longtime User Jul 19, 2011 #6 I think this is related to "word prediction" and "spell correction", disabling these features makes things work as expected. Thanks guys. Upvote 0
I think this is related to "word prediction" and "spell correction", disabling these features makes things work as expected. Thanks guys.
S Smee Well-Known Member Licensed User Longtime User Dec 22, 2011 #7 Erel said: If you set ForceDone to true then the keyboard should hide automatically. You do not need to call HideKeyboard. Click to expand... How is this accomplished on an inputdialog where the input is INPUT_TYPE_TEXT? Upvote 0
Erel said: If you set ForceDone to true then the keyboard should hide automatically. You do not need to call HideKeyboard. Click to expand... How is this accomplished on an inputdialog where the input is INPUT_TYPE_TEXT?
Erel B4X founder Staff member Licensed User Longtime User Dec 22, 2011 #8 I'm sorry but I do not understand your question ?? Upvote 0
S Smee Well-Known Member Licensed User Longtime User Dec 22, 2011 #9 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: Dec 22, 2011 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)"
Erel B4X founder Staff member Licensed User Longtime User Dec 23, 2011 #10 I don't think that it is possible. This issue was discussed in the Dialogs library thread. Upvote 0