trichview.com

trichview.support.examples




Re: Insert Some WideString


Return to index


Author

Message

Sergey Tkachenko

Posted: 03/31/2005 13:23:41


AddTextNLW should be used only when generating documents.

For example:


rve.Clear;

rve.AddTextNLW(...);

rve.AddTextNLW(...);

rve.AddTextNLW(...);

rve.Format;


After calling AddTextNLW, documents becomes unformatted (and must not be

displayed) until you call Format.


InsertTextW inserts at the caret position using the current text style.

You can define the style of inserted text by assigning value to

rve.CurTextStyleNo.


PS: Please post questions in trichview.support


>

> Thanks for your prior Answer.

>

> How can I insert some WideString such as Chinese at the Current

position,not

> the Adding.

> 1)When I used the AddTextNLW to Add a WideString into TeRichView,

> The cursor always at the head of TeRichView. so that, I can not see the

content

> what I Add.

> 2)InsertTextW: The content is alway at the head of TeRichView, not to

insert

> the content at the end of TeRichView.

> Need Set some parameters? Am I in a wrong way?

>

> Need help, Thanks.

> (I am not good at English, Maybe some words are not clear)

>





Powered by ABC Amber Outlook Express Converter