Quantcast
Channel: Programming Forums
Viewing all articles
Browse latest Browse all 51036

Changing text in a textbox when input has been entered

$
0
0
hello, i am working on something. And i need some help. I want my text box to automatically change text when i have clicked on a button to enter the password after i have inputted the password as a variable.

so for example. If i click the button set a password, an inputbox comes up i enter that password and it is stored as a variable, i have declared it. Now another text box says currently password not been set, once the password has been set i am trying to make it automatically change to password set.

this is the code i have tried already.
Dim password String = ""
If password = Text Then txtpasswordstatus.Text = "secure"



this is all i can think of. I dont know what else there could be. so the above line is saying if password(variable) is text then the txtpasswordstatus.text should change from not been set to secure?

Any help would appreciate it.

Viewing all articles
Browse latest Browse all 51036

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>