Adding formated code to a richtext box

Arokh

Centurion
Joined
Apr 11, 2006
Messages
124
Hi
Since the edit windows for posts on most forums are annoyingly small,
I want to write something like a BBCode Editor,
which shows the result in realtime.
(A rich text box which previews the post & bbcode from a normal textbox)

For example I want to format the text between the tags text,
but I could only think two way to accomplish my idea.

Either I set the Formating paste the text into the control until the format changes,
then change the formating, paste the next part and so on,
or write the formating code which is needed by the richtext box,
which seems not to be an easy task.

Is there any other way to do this?
 
Back
Top