PC Review


Reply
Thread Tools Rate Thread

A bug in RichTextBox control?

 
 
lottoman
Guest
Posts: n/a
 
      16th Mar 2005
Hello All,

The RichTextBox is not responding to click events. I created a new
project dropped a RichTextBox.

Private Sub RichTextBox1_Click(ByVal sender As Object, ByVal e As
System.EventArgs) Handles RichTextBox1.Click
MessageBox.Show("Responded")
End Sub

after clicking nothing happens. tried the same code in the TextChanged
event. works fine.

Any known issues?

 
Reply With Quote
 
 
 
 
Herfried K. Wagner [MVP]
Guest
Posts: n/a
 
      16th Mar 2005
"lottoman" <(E-Mail Removed)> schrieb:
> The RichTextBox is not responding to click events. I created a new
> project dropped a RichTextBox.
>
> Private Sub RichTextBox1_Click(ByVal sender As Object, ByVal e As
> System.EventArgs) Handles RichTextBox1.Click
> MessageBox.Show("Responded")
> End Sub
>
> after clicking nothing happens. tried the same code in the TextChanged
> event. works fine.


ACK, same behavior here. You can use the 'MouseUp' event instead.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>
 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
WPF RichTextBox Control Anthony Meehan Microsoft Dot NET Framework 1 1st Aug 2008 11:29 AM
Regarding richtextbox control in vb.net shivaranjaniadimulam21@gmail.com Microsoft VB .NET 0 11th Jun 2007 01:52 PM
RichTextBox control =?Utf-8?B?QmFyZ3Vhc3Q=?= Microsoft Dot NET Framework Forms 0 25th Apr 2005 06:39 PM
RichTextBox Control =?Utf-8?B?S2FzaQ==?= Microsoft Dot NET Framework Forms 2 18th Aug 2004 05:53 AM
RichTextBox Control Surajit Laha Microsoft ASP .NET 2 13th May 2004 07:48 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:15 AM.