jonnyknowsbest
Technical User
I have a rich text box with wordwrapping enabled. When a user clicks on a button, the text is copied from rich text box, into a standard textbox.
Now i need to be able to add formatting tags such as <RED> and <BLUE> to the textbox, but maintain where the lines are broken. Example
Richtext box wrapped text
=========================
The cat sat(<--Line wraps here)
on the mat
Textbox wrapped text
====================
The cat <RED>sat
on the map
Any ideas how i can achieve this??
I did think of replacing the wordwrap character with a Chr(13) but i don't know the word wrap character.
Now i need to be able to add formatting tags such as <RED> and <BLUE> to the textbox, but maintain where the lines are broken. Example
Richtext box wrapped text
=========================
The cat sat(<--Line wraps here)
on the mat
Textbox wrapped text
====================
The cat <RED>sat
on the map
Any ideas how i can achieve this??
I did think of replacing the wordwrap character with a Chr(13) but i don't know the word wrap character.