jzsmith33 Posted September 5, 2007 Posted September 5, 2007 Hi, I've come across a bug in the RichTextBox control. If you add an RTB to a form, then add a url to the text property. The run the project. The mouse pointer (as you'd expect) changes to a hand while over the URL. But it also remain a hand under the URL. Also when you click in the area under the URL it raises the LinkClicked event. This bug occurs in dotnet 1.1 and 1.0. Can anyone suggest a workaround (other than adding an extra return character)? TIA Quote
Leaders snarfblam Posted September 13, 2007 Leaders Posted September 13, 2007 This isn't a bug. This is actually by design. Any blank space below the last line of text in a RichTextBox handles the mouse as though it were the last line. For an example, open WordPad, maximize it, type in some text not followed by a carrige return, and then drag the mouse accross the empty space at the bottom. It will select the text as though you dragged the cursor accross the text. Quote [sIGPIC]e[/sIGPIC]
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.