Android Question Remove ime.Setcustomfilter

MrKim

Well-Known Member
Licensed User
Longtime User
ime.SetCustomFilter works great but I can't figure out how to remove the custom filter and use the default later.
 

MrKim

Well-Known Member
Licensed User
Longtime User
Try to set the InputType property.
I did. Tried
B4X:
IME.SetCustomFilter(ValueTxt, ValueTxt.INPUT_TYPE_TEXT, Null)
but that gave me NO characters for input. Do I have to put all 128 ASCII characters in AcceptedCharacters (I am assuming there is no way to access the high bit chars.:))?
 
Upvote 0

MrKim

Well-Known Member
Licensed User
Longtime User
You did try to set it with EditText1.InputType = EditText1.INPUT_TYPE_TEXT, right?

You can always call RemoveView and create a new field instead.
As the code above shows, I was setting a custom filter using IME. I was assuming I needed to use IME to remove the filter. Are you telling me that I can remove the filter just by setting ValueTxt.InputType = ValueTxt.INPUT_TYPE_TEXT?

So much to learn....
 
Upvote 0
Top