469,352 Members | 1,945 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,352 developers. It's quick & easy.

textBox click event

No click event support for textBoxes??? Is this true? If so, does anyone
have a solution (without using timers)?
Nov 16 '05 #1
4 25252
"Keith Smith" <ke*********@verizon.net> wrote in message
news:o99Qd.32820$Dc.18600@trnddc06...
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
}
Nov 16 '05 #2
Keith Smith wrote:
No click event support for textBoxes??? Is this true? If so, does anyone
have a solution (without using timers)?


If we look at the table at the following url
http://msdn.microsoft.com/library/de...clicktopic.asp
it looks like it does but only for the left mouse button.

---
Regards

Olle de Zwart
Nov 16 '05 #3
"Keith Smith" <ke*********@verizon.net> wrote:
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.
Nov 16 '05 #4
> 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/247referenc...55/275123.aspx

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

Everyone else, thanks for an educated informative response.
Nov 16 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by Mark Lingen | last post: by
3 posts views Thread by TCORDON | last post: by
4 posts views Thread by Rochdi | last post: by
5 posts views Thread by ally | last post: by
3 posts views Thread by Robert W. | last post: by
6 posts views Thread by Jim Devenish | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by suresh191 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.