Ario.Paxaz Posted October 20, 2023 Share Posted October 20, 2023 Hi Is it possible to close the keyboard in Android? The user has entered information in an unimedit and I want to display a suitable message, but the keyboard being open prevents viewing the entire message, do I have a command to close the keyboard before displaying the message? Regards. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted October 20, 2023 Share Posted October 20, 2023 Hello, 2 hours ago, Ario.Paxaz said: and I want to display a suitable message How? Quote Link to comment Share on other sites More sharing options...
Ario.Paxaz Posted October 20, 2023 Author Share Posted October 20, 2023 As it is clear in the picture, I have displayed the message, but the Android keyboard blocked part of the message. My question is simply this: Can you close the Android keyboard before displaying the message? Quote Link to comment Share on other sites More sharing options...
Sherzod Posted October 20, 2023 Share Posted October 20, 2023 2 minutes ago, Ario.Paxaz said: Can you close the Android keyboard before displaying the message? What code do you use to show the message? Quote Link to comment Share on other sites More sharing options...
Ario.Paxaz Posted October 21, 2023 Author Share Posted October 21, 2023 Quote What code do you use to show the message? I use UniSweetAlert for show message. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted October 21, 2023 Share Posted October 21, 2023 Please give me some of the code so I can reproduce your case. Quote Link to comment Share on other sites More sharing options...
Ario.Paxaz Posted October 21, 2023 Author Share Posted October 21, 2023 Quote Please give me some of the code so I can reproduce your case. UniSweetAlert1.InputType := ItNone; UniSweetAlert1.AlertType := atWarning; UniSweetAlert1.ShowCancelButton := False; UniSweetAlert1.Show('Enter Your Name'); Quote Link to comment Share on other sites More sharing options...
Sherzod Posted October 21, 2023 Share Posted October 21, 2023 On 10/20/2023 at 8:58 AM, Ario.Paxaz said: information in an unimedit If you are using unimedit you should try "removing" focus... Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.