trichview.com

trichview.support




Re: Carat after Format


Return to index


Author

Message

Sergey Tkachenko

Posted: 12/01/2003 16:00:48


Well, you can use this code:


RichViewEdit.RVData.Format_(True, True, False, 0, RichViewEdit.Canvas,

False,

    False);

RichViewEdit.Invalidate;


It will reformat document without losing caret position (useful when you

change margins or something like this)


>

> No.

>

>

> "Sergey Tkachenko" <svt@trichview.com> wrote:

> >Was document changed between calling formats?

> >

> >>

> >> Hi,

> >>

> >> I would like to re-position the carat back to its original position

after

> >> a call to rve.Format. What is the best way to do this?

> >>

> >> Thanks

> >

> >

>





Powered by ABC Amber Outlook Express Converter