Keyboard hide

mogenskilde

Member
Licensed User
Longtime User
Hello Folks special greetings Klaus

I have now come pretty far with my first application, see attached.

This has been done with much help from Klaus.

I do however have difficulties to get the keyboard to go away after inputting the diameter value.
I would like the keyboard to disappear after pressing ENTER

Any help would be appriciated
 

Attachments

  • RPM Calculator.zip
    6.8 KB · Views: 271

nfordbscndrd

Well-Known Member
Licensed User
Longtime User
I just tried your app on my tablet and after I enter a number and press Done on the keyboard, it already goes away by itself.

If you want the keyboard to go away when the user presses your Calculate key instead of the keyboard's Done key, then enter the code I gave you into the btnCalculate_Click sub
 
Upvote 0

JesseW

Active Member
Licensed User
Longtime User
We have found that sometimes a HideKeyboard command isn't sufficient and a DoEvents command is necessary immediately before and after it.
 
Upvote 0
D

Deleted member 103

Guest
@JesseW
We have found that sometimes a HideKeyboard command isn't sufficient and a DoEvents command is necessary immediately before and after it.
Thanks for the tip, it works perfectly!
B4X:
DoEvents
Phone.HideKeyboard
DoEvents

Filippo
 
Upvote 0
Top