Android Question (Solved)Is it possible to have shift key pressed on keypad open?

edm68

Member
Licensed User
Longtime User
so that the first letter of edittext would be capital letter?
I've searched the forum but am not sure of the terminology that I'm looking for so have had no luck.
I did try this using IME:
B4X:
IMEMn.SetCustomFilter(edtMain,edtMain.INPUT_TYPE_TEXT,"ABCDEFGHIJKLMNOPQRSTUVWXYZ")
&
B4X:
Sub edtMain_TextChanged (Old As String, New As String)
    If New="" Then
        IMEMn.SetCustomFilter(edtMain,edtMain.INPUT_TYPE_TEXT,"ABCDEFGHIJKLMNOPQRSTUVWXYZ")
    Else
        IMEMn.SetCustomFilter _
        (edtMain,edtMain.INPUT_TYPE_TEXT,"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789")
    End If
End Sub
The keypad still opens with small letters showing and still have to press the shift key. Also that doesn't give the user the option of entering small letter to start edittext if they desire.
Hope that all makes sense.
Thanks.
 
Top