richtextbox nightmares

Drstein99

Junior Contributor
Joined
Sep 26, 2003
Messages
283
Location
Audubon, Nj
I'm having issues with richtextbox. I want to insert and delete text, from it - and I can not use the .text property, since I am using colors and formatting, etc are lost when I do:

richtextbox.text = richtextbox.text.insert(25,"Testing")


Is there any articles, links, or information regarding an efficient method to handle the .rtf , w/ all the codes and such? For example - translating the selection indexes, and the point at which they occur in .RTF; is a huge problem dealing with line/breaks carriage returns. The .selectionstart property deals with the .text property on richtextbox, and pretty much the only resources I can see so far are .selectedrtf and .rtf - also some functions to load files into the .rtf
 
Back
Top