R RB Smissaert Well-Known Member Licensed User Longtime User May 16, 2020 #1 Working on a custom keyboard and can't figure out how to show the cursor when the input_type is none. I tried this code from Klaus: Code: Sub setCursorVisible(edt As EditText, Visible As Boolean) Dim jo = edt As JavaObject jo.RunMethod("setCursorVisible", Array As Object(Visible End Sub but it doesn't work even if I try to set the focus with edt.RequestFocus I need the input_type none, so the standard keyboard doesn't popup. Otherwise is there a way to make the standard keyboard not appear without setting the input_type to none? This would probably be the best way. RBS
Working on a custom keyboard and can't figure out how to show the cursor when the input_type is none. I tried this code from Klaus: Code: Sub setCursorVisible(edt As EditText, Visible As Boolean) Dim jo = edt As JavaObject jo.RunMethod("setCursorVisible", Array As Object(Visible End Sub but it doesn't work even if I try to set the focus with edt.RequestFocus I need the input_type none, so the standard keyboard doesn't popup. Otherwise is there a way to make the standard keyboard not appear without setting the input_type to none? This would probably be the best way. RBS
klaus Expert Licensed User Longtime User May 16, 2020 #2 There are HideKeyboard methods in the Phone and in the IME library. Upvote 0
R RB Smissaert Well-Known Member Licensed User Longtime User May 16, 2020 #3 klaus said: There are HideKeyboard methods in the Phone and in the IME library. Click to expand... I tried via the IME library, but can't stop it from popping up in the first place. Will try with the Phone library. RBS Upvote 0
klaus said: There are HideKeyboard methods in the Phone and in the IME library. Click to expand... I tried via the IME library, but can't stop it from popping up in the first place. Will try with the Phone library. RBS
R RB Smissaert Well-Known Member Licensed User Longtime User May 16, 2020 #4 klaus said: There are HideKeyboard methods in the Phone and in the IME library. Click to expand... Phone library works better, but I still get a flicker. In any case, this is better than doing input_type is none. RBS Upvote 0
klaus said: There are HideKeyboard methods in the Phone and in the IME library. Click to expand... Phone library works better, but I still get a flicker. In any case, this is better than doing input_type is none. RBS