trichview.com

trichview.support




SetItemText & InsertText


Return to index


Author

Message

Papiya

Posted: 08/29/2004 6:50:27


I need  to  Insert few lines at some point of a formatted TRichViewEdit. to

take the caret to that item/position I used SetSelectionBounds(1,1,i,1) ;

then

                  Deselect;

                  InsertText(tmpstr);


But instead of inserting new line it is just replacing the current one.

Then what is the difference between SetItemText and InsertText?


and what should I do to insert something in between?


Regards,

Papiya





Powered by ABC Amber Outlook Express Converter