emptying texbox
-
I would like emptying TexBox who are in treatment but in the event selectedchanger: texbox.text = String.Empty , find an error message because the content of the TexBox changes. can you help me?? thank you
tek 2009 wrote:
an error message
interesting
tek 2009 wrote:
can you help me??
sure :)
Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles] Nil Volentibus Arduum
Please use <PRE> tags for code snippets, they preserve indentation, and improve readability.
-
tek 2009 wrote:
an error message
interesting
tek 2009 wrote:
can you help me??
sure :)
Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles] Nil Volentibus Arduum
Please use <PRE> tags for code snippets, they preserve indentation, and improve readability.
-
I would like emptying TexBox who are in treatment but in the event selectedchanger: texbox.text = String.Empty , find an error message because the content of the TexBox changes. can you help me?? thank you
Hi there , You can't empty the text box while it's changing , it would be user hostile ! I recommended this :
private void textBox1\_Enter(object sender, EventArgs e) { textBox1.SelectAll(); //textBox1.Text = string.Empty; }
So the user can empty the text box with one Button click :) Please , Don't Mind the Other posters ! , they just didn't read the rules X| !
I know nothing , I know nothing ...