trichview.support
| 
 InsertText & SetItemText  | 
| 
 Author  | 
 Message  | 
| 
 Papiya  | 
 Posted: 09/01/2004 9:05:50 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