B4X FEED Close Keyboard

اطلاعات موضوع

درباره موضوع در تاریخ, در دسته b4xfeed ایجاد شده و آغاز کننده آن practicalsoftمی باشد و موضوع آن: Close Keyboard است. این موضوع تا کنون 24 بازدید کننده و, 0 پاسخ داشته و 0 بار پسندیده شده...
نام دسته b4xfeed
نام موضوع Close Keyboard
آغاز کننده موضوع practicalsoft
تاریخ شروع
پاسخ‌ها
0
بازدیدها
24
پسندها
0
آخرین ارسال توسط PracticalSoft
Jun 6, 2020
11,559
4,422
Hi,

I do have a TextField in my B4XView. Once the user presses "Enter" on the keyboard, the keyboard closes - just as expected. The Views/UI Elements that have been covered, are visible again.

But is it also possible to hide the keyboard, once the users "taps" (Clicks/Touches) outside the TextField?

I have tried to catch the "Click" and "Touch" Event of the page itself, but not even got a Log. So I assume I hadn't got that right. Is there some workaround/trick? I had fired up the search, but none of the results, I read and tested, have been successful.
Is there somewhere a minimal example? I have tested the "Coordinates" example, but it behaves weird (very slow / unresponsive) and does not close the keyboard as well.

I have considered replacing it with a B4XFloatTextField, but haven't worked with it yet.

Thank you!

 

عقب
بالا