Android Question disable/enable edittext

ronell

Well-Known Member
Licensed User
Longtime User
i want to disable the password edittext when the username edittext has no value

for example:

B4X:
if textuser.text = "" then
    textpass.enabled = false
else
    textpass.enabled = true
end if

i already try the code above but nothing happens
 
Top