Hi,
I want to have an Edit Text with a Character limit of 20. So after 20 characters have been entered, stop the typing.
I've tried using the above code inside Activity_Create. I load librarie IME.
But nothing happened .... did not introduce an error nor did it prevent the typing.
thanks
I want to have an Edit Text with a Character limit of 20. So after 20 characters have been entered, stop the typing.
B4X:
Dim IME As IME
Dim edtTest As EditText
edtTest.Initialize("")
IME.Initialize("")
IME.SetLengthFilter(edtTest, 20)
I've tried using the above code inside Activity_Create. I load librarie IME.
But nothing happened .... did not introduce an error nor did it prevent the typing.
thanks