textBox click event

  • Thread starter Thread starter Keith Smith
  • Start date Start date
K

Keith Smith

No click event support for textBoxes??? Is this true? If so, does anyone
have a solution (without using timers)?
 
Keith Smith said:
No click event support for textBoxes??? Is this true? If so, does anyone
have a solution (without using timers)?

Where did you get that idea?

TextBox textBox1 = new TextBox();
this.Controls.Add(textBox1);
textBox1.Click += new EventHandler(textBox1_Click);

private void textBox1_Click(object sender, EventArgs e) {
// Handle Click Event
}
 
Keith Smith said:
No click event support for textBoxes??? Is this true?

Have you read any of the help files at all, ever? Bear in mind that
you could approximately halve the amount of traffic on this newsgroup
by doing so.

P.
 
Have you read any of the help files at all, ever? Bear in mind that you
could approximately halve the amount of traffic on this newsgroup by doing
so.

P.

Chill on the attitude, Paul. Here are the links that led me to ask my
question. After I read them I had some difficulty getting my click events
to work on my textBox.

http://www.dotnet247.com/247reference/msgs/55/275123.aspx

http://www.devdex.com/vb/message.asp?p=2916&r=3763244

Everyone else, thanks for an educated informative response.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top