I am currently creating a game. Everything in this game works great. To reset the highscores you click on a button and an input box pops up asking for your admin number. If the number is entered correctly the text files containing the highscores are deleted and blank ones replace them.I was wondering if it is possible to have the text change into a dot after entering another character, just like most logins do. Any help??

Recommended Answers

All 5 Replies

If the PasswordChar property of the textbox is set to a character (such as asterisk) then anything you type will display as that character.

TextBox1.PasswordChar = "*"

TextBox1.PasswordChar = "*"

More like = "•", but yeah xD

For future reference, Alt + 7 (or Alt + Shift + 3 on a Mac)

Thanks for the help. The code for this is much simpler than I believed it would be.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.