MrKim Well-Known Member Licensed User Longtime User Sep 9, 2017 #1 ime.SetCustomFilter works great but I can't figure out how to remove the custom filter and use the default later.
ime.SetCustomFilter works great but I can't figure out how to remove the custom filter and use the default later.
Erel B4X founder Staff member Licensed User Longtime User Sep 10, 2017 #2 Try to set the InputType property. Upvote 0
MrKim Well-Known Member Licensed User Longtime User Sep 10, 2017 #3 Erel said: Try to set the InputType property. Click to expand... I did. Tried Code: 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
Erel said: Try to set the InputType property. Click to expand... I did. Tried Code: 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.)?
Erel B4X founder Staff member Licensed User Longtime User Sep 10, 2017 #4 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. Upvote 0
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.
MrKim Well-Known Member Licensed User Longtime User Sep 10, 2017 #5 Erel said: 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. Click to expand... 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
Erel said: 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. Click to expand... 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....
Erel B4X founder Staff member Licensed User Longtime User Sep 10, 2017 #6 No. I'm telling you that you should try it. Upvote 0