Have a look at http://support.microsoft.com/support/kb/articles/Q68/5/72.ASP
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
> Behalf Of Andrew Masters
> Sent: Monday, 21 August 2000 14:23
> To: Multiple recipients of list delphi
> Subject: [DUG]: Rich Edit Question
>
>
> Hi All,
>
> Is there a simple way of detecting if the cursor is at the start
> of a new line in a rich edit ?
>
> I'm doing something similar to the MS-Word auto correct and
> getting the current word typed by looking back for the last space
> char BUT need to stop at the start of a new line. Hope that makes sense.
>
> Regards
> Andrew
> ------------------------------------------------------------------
> ---------
> New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
> Website: http://www.delphi.org.nz
>
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz