shirlun Active Member Licensed User Longtime User Jan 19, 2017 #1 Hi, I found PasswordMode is invalid in TextView, is there any alternative method to set it ? Thanks.
Erel B4X founder Staff member Licensed User Longtime User Jan 19, 2017 #2 I don't think so. Why don't you use TextField? Upvote 0
shirlun Active Member Licensed User Longtime User Jan 19, 2017 #3 The TextField can't raise the TextChanged event when the text is empty, so I must use TextView. How to detect the Backspace in TextField ? Upvote 0
The TextField can't raise the TextChanged event when the text is empty, so I must use TextView. How to detect the Backspace in TextField ?
Erel B4X founder Staff member Licensed User Longtime User Jan 19, 2017 #4 shirlun said: The TextField can't raise the TextChanged event when the text is empty, so I must use TextView. Click to expand... Works fine here. B4X: Sub TextField1_TextChanged (OldText As String, NewText As String) Log("changed: " & NewText) End Sub Upvote 0
shirlun said: The TextField can't raise the TextChanged event when the text is empty, so I must use TextView. Click to expand... Works fine here. B4X: Sub TextField1_TextChanged (OldText As String, NewText As String) Log("changed: " & NewText) End Sub
shirlun Active Member Licensed User Longtime User Jan 19, 2017 #5 When TextField.Text become empty, no more TextChanged event raising. Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Jan 19, 2017 #6 Logs: Copying updated assets files (1) Application_Start Application_Active changed: k changed: kj changed: kjj changed: kjjk changed: kjj changed: kj changed: k changed: changed: j changed: jk changed: jkh changed: jkhj changed: jkhjk changed: jkhjkh changed: jkhjk changed: jkhj changed: jkh changed: jk changed: j changed: changed: n changed: nm changed: nmb changed: nmbm changed: nmbmn changed: nmbmnb changed: nmbmn changed: nmbm changed: nmb changed: nm changed: n changed: n8 changed: n89 changed: n89y changed: n89y8 changed: n89y8h changed: n89y8hy changed: n89y8h changed: n89y8 changed: n89y changed: n89 changed: n8 changed: n changed: Upvote 0
Logs: Copying updated assets files (1) Application_Start Application_Active changed: k changed: kj changed: kjj changed: kjjk changed: kjj changed: kj changed: k changed: changed: j changed: jk changed: jkh changed: jkhj changed: jkhjk changed: jkhjkh changed: jkhjk changed: jkhj changed: jkh changed: jk changed: j changed: changed: n changed: nm changed: nmb changed: nmbm changed: nmbmn changed: nmbmnb changed: nmbmn changed: nmbm changed: nmb changed: nm changed: n changed: n8 changed: n89 changed: n89y changed: n89y8 changed: n89y8h changed: n89y8hy changed: n89y8h changed: n89y8 changed: n89y changed: n89 changed: n8 changed: n changed:
shirlun Active Member Licensed User Longtime User Jan 19, 2017 #7 That's right, only one message between k, j. changed: k changed: changed: j while k is deleted, the event raised, and press Backspace again, will no more "changed:" message loged. Upvote 0
That's right, only one message between k, j. changed: k changed: changed: j while k is deleted, the event raised, and press Backspace again, will no more "changed:" message loged.
Erel B4X founder Staff member Licensed User Longtime User Jan 19, 2017 #8 That's true. The TextChanged is only raised when the text changes. TextView should behave exactly the same. Upvote 0
That's true. The TextChanged is only raised when the text changes. TextView should behave exactly the same.
shirlun Active Member Licensed User Longtime User Jan 20, 2017 #9 TextView raises TextChanged even TextView.Text empty, so I can use this signal to send Backspace to the server. But the PasswordMode in TextView is invalid, this is a problem. Upvote 0
TextView raises TextChanged even TextView.Text empty, so I can use this signal to send Backspace to the server. But the PasswordMode in TextView is invalid, this is a problem.