Android Question How to Reveal Password

Penfound

Active Member
Licensed User
I have an app that allows me to store various login details for my students. Surprisingly they keep forgetting their passwords! I am using an EditText in passwordmode to enter the passwords but can't find a way of programmatically revealing the password for them.

B4X:
sub [B]Button3_Click[/B]
If txtMoodlePass.passwordmode = True
txtMoodlePass.PasswordMode = True
Else
txtMoodlePass.PasswordMode = False Then
End If
If IsValidPassword(tmpPass)Then
txtMoodlePass.TextColor = Colors.Blue
Else
txtMoodlePass.TextColor = Colors.red
End If
txtMoodlePass.TextColor = Colors.Red
txtMoodlePass.TextColor = Colors.Blue
End Sub
[\code]
 
Top