Hi!
How do I make "0" become the default in a textBox when I open it?
Thanks! :)
Printable View
Hi!
How do I make "0" become the default in a textBox when I open it?
Thanks! :)
you havent explored your VS.Net, have you? there is an option in properties - text.. also you can do it in code - in form load event -
yourtextbox.text = "0"
but it dosent display "0" in txtbox when you open the program.
Tell us exactly what you're doing because martins is absolutely correct. The only possibility is that you have code elsewhere that changes the value, or you didn't set the Text property in the VS properties window correctly.