Mysterious problem with Passwordmode (B4A 11.50).
If setting Passwordmode to True for B4XInputtemplate like this:
DialogInput.Initialize
Dim et As EditText = DialogInput.TextField1
et.PasswordMode = True
et.TextColor = xui.Color_Yellow
et.Gravity = Gravity.CENTER_HORIZONTAL
the application crashes showing this message:
Using this lines of code (Passwordmode commented out):
DialogInput.Initialize
Dim et As EditText = DialogInput.TextField1
' et.PasswordMode = True
et.TextColor = xui.Color_Yellow
et.Gravity = Gravity.CENTER_HORIZONTAL
it works.
How can I use Passwordmode True without crashing my APP?
If setting Passwordmode to True for B4XInputtemplate like this:
DialogInput.Initialize
Dim et As EditText = DialogInput.TextField1
et.PasswordMode = True
et.TextColor = xui.Color_Yellow
et.Gravity = Gravity.CENTER_HORIZONTAL
the application crashes showing this message:
Using this lines of code (Passwordmode commented out):
DialogInput.Initialize
Dim et As EditText = DialogInput.TextField1
' et.PasswordMode = True
et.TextColor = xui.Color_Yellow
et.Gravity = Gravity.CENTER_HORIZONTAL
it works.
How can I use Passwordmode True without crashing my APP?
Last edited: