🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.csharpbuilder.winforms.controls.using
Article #8

Re: 'Trapping' a double-click in RichTextEdit Mouse-down event

#8
From: John
Date: Sun, 13 Mar 2005 19:28
26 lines
1759 bytes
Thanks, Marc:  I'll give it another try.

John F.

"Marc Rohloff [TeamB]" <"on request"> wrote:
>On 10 Mar 2005 20:13:49 -0800, John Fowler wrote:
>
>> I've tried this, but when I double-click within the rich text edit
>> (called 'rtBox' in my code) it does nothing (except the default
>> behaviour, i.e. it high-lights the text in the editbox):
>
>Yes you are right it seems to disappear. However I tried your original
>code:
>
>private void richTextBox1_MouseDown(object sender,
>System.Windows.Forms.MouseEventArgs e)
>{
>if (e.Clicks==2) MessageBox.Show("c");
>}
>
>And it works fine for me.
>
>-- 
>Marc Rohloff [TeamB]
>marc rohloff -at- myrealbox -dot- com
Technical Details
Message-ID: <42349441$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!feeder.enertel.nl!nntpfeed-01.ops.asmr-01.energis-idc.net!news-out.nntp.be!propagator2-sterling.newsfeeds.com!news-in.nuthinbutnews.com!news-in.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <422febd8$1@newsgroups.borland.com> <i3mrg7bj7oqe.dlg@marcrohloff.40tude.net> <42311afd$1@newsgroups.borland.com> <1pruy9742t9qn$.dlg@marcrohloff.40tude.net>

Show Full Headers
Complete Article Headers
X-Google-Thread: 1eff3c,eb5671884cadb4e5
X-Google-Attributes: gid1eff3c,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "John" <jfowler@pol.net>
Sender: "John" <jfowler@pol.net>
Reply-To: "John" <jfowler@pol.net>
Subject: Re: 'Trapping' a double-click in RichTextEdit Mouse-down event
Newsgroups: borland.public.csharpbuilder.winforms.controls.using
X-User-Info: 24.20.189.226     
References: <422febd8$1@newsgroups.borland.com> <i3mrg7bj7oqe.dlg@marcrohloff.40tude.net> <42311afd$1@newsgroups.borland.com> <1pruy9742t9qn$.dlg@marcrohloff.40tude.net>
NNTP-Posting-Host: 207.105.83.66
Message-ID: <42349441$1@newsgroups.borland.com>
Date: 13 Mar 2005 11:28:01 -0800
X-Trace: newsgroups.borland.com 1110742081 207.105.83.66 (13 Mar 2005 11:28:01 -0800)
Lines: 27
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!feeder.enertel.nl!nntpfeed-01.ops.asmr-01.energis-idc.net!news-out.nntp.be!propagator2-sterling.newsfeeds.com!news-in.nuthinbutnews.com!news-in.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail