Re: Lines in a Rich Text Box

From: Les (vb4_at_prodigy.net)
Date: 12/25/04


Date: Sat, 25 Dec 2004 02:26:39 -0500

Hi Rick,

Sorry for not being clearer. Actually each line of text will end in a crlf.
This is actually text data and not sentences so I can assure you that each
and every line will end in a CRLF and that their will be no line wraps to
worry about.

Hope I have made myself clearer.

Thanks Rick

"Rick Rothstein" <rickNOSPAMnews@NOSPAMcomcast.net> wrote in message
news:#4OgQFk6EHA.1452@TK2MSFTNGP11.phx.gbl...
> > Any simple way to determine how many lines exist in a Rich Text Box.
> Each
> > line could be different lengths and I am not quite sure the way to do
> this
> > is count the number of vbCRLF exist. Any quick way of doing this??
>
> What do you mean by "lines"? The number of wrapped lines of text you see
> or the number of physical sentences (even if one sentence spans multiple
> lines)?
>
> Rick - MVP
>



Relevant Pages

  • Re: Lines in a Rich Text Box
    ... >Sorry for not being clearer. ... Actually each line of text will end in a crlf. ... >This is actually text data and not sentences so I can assure you that each ... However if you are happy with it then why not count the vbCrLfs ...
    (microsoft.public.vb.general.discussion)
  • Re: Lines in a Rich Text Box
    ... > Sorry for not being clearer. ... > and every line will end in a CRLF and that their will be no line wraps ... Rick - MVP ...
    (microsoft.public.vb.general.discussion)
  • Re: Lines in a Rich Text Box
    ... > Sorry for not being clearer. ... Actually each line of text will end in a crlf. ... Private Declare Function SendMessage Lib "user32" _ ... Private Sub Command1_Click ...
    (microsoft.public.vb.general.discussion)
  • Re: Startup and Shutdown
    ... Thankyou Ralph and Rick for your input and sorry I should have made myself ... clearer. ... Having said that could you please enlighten me on how to shutdown XP ...
    (microsoft.public.vb.general.discussion)