trichview.com

trichview.support




Re: about import rtf to richview


Return to index


Author

Message

Sergey Tkachenko

Posted: 05/05/2002 12:47:24


Well, these "linear" coordinates of caret (SelStart, SelLength) are not

native to RichView.

RichView uses two values to define a position of caret (see

GetSelectionBounds and SetSelectionBounds). The case of tables is more

complex.


Of course, coordinates can be converted to "linear" and back (I can show how

to do it, if you want). Conversion will not be very efficient, though.


> Hi,

>

> We are considering RichView component and here is a question.

>

> After we import rtf file to RichView is there a possibility to

> define afterwards the position of the caret inside current item

> in terms of offset as it is possible to get from usual RichEdit

> component from property SelStart.

>

> Regards,

> Michael

>







Powered by ABC Amber Outlook Express Converter