RichTexBox & RTF

R

Ryan Ramsey

I am not sure if I can do this, please respond with best practices.

On an application I am writing I have a RichTextBox control that I would
like to put formatted text into.

If I use the 'text' property from the properties pulldown only the TEXT i
put into the box shows in the rtf. Is there a formatting mechanism like <b>
for bold that I can use?

The other option is to use formatted rtf or xml document and read it into
the control with the LoadFile() command. The crux here is I am distributing
the app via the network using Onestep
 
G

GhostInAK

Hello Ryan,

Embed the RTF document as a resource and load it into the rtf control from
the resource.

-Boo
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top