
RichTextBox - single click to select line
Hi Hamed,
Thanks for the advice.
Best Regards,
Nick Tipping.
Quote:
> Hi,
> You can try these 2 ways if you want!
> First) You can Use E.Marcillo's Rich Edit that is more power to do what
you
> want and I guess that your problem will solved this way...
> Second) You can do it yourself, It's as easy as to drink a glass of
> water!Just use EM_LINELENGTH ang get the Line Length In Char then use
> SelStart and SelLength to higlight the Line! (but how you can find
Selstart?
> Think of this,it's also easy!:))
> HTH
> Hamed
> > Hi Folks,
> > I followed a thread about this some time back, but as far as I could
see,
> > there was no final conclusion. I now find myself suffering from the same
> > problem and was wondering if anyone had bottomed it out. It goes like
> this:-
> > In theory, indenting the left margin of a RichTextBox should leave a
> column
> > down the left hand side where a single click will select an entire line
of
> > text. This is indicated by the mouse pointer changing to an arrow
pointing
> > up and to the right.
> > I am running W98SE and VB6 SP5, and (like others at the time) I can't
get
> > this to happen. I create the indent, but in this region the mouse
pointer
> > stays as the edit cursor, and I can't select a line of text with a
single
> > click.
> > Anybody had any further ideas?
> > Best regards,
> > Nick Tipping.
> > ---
> > Outgoing mail is certified Virus Free.
> > Checked by AVG anti-virus system (http://www.grisoft.com).
> > Version: 6.0.320 / Virus Database: 179 - Release Date: 30/01/02
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.320 / Virus Database: 179 - Release Date: 30/01/02