I have a rich text box in which I would like to have multiple font styles be used in different parts of the text.
If I select a piece of text and click on my designated 'bold' button, it turns bold. However, if half the selected text is italic and the other half is regular, it either becomes all bold italic or all just bold.
I've searched the font object up and down, but it seems the only way to set a single font style at runtime is to completely rebuild the font object. Any ideas on how I can get around this and just set ONE font style without affecting the others?
Thanks, Stopher
If I select a piece of text and click on my designated 'bold' button, it turns bold. However, if half the selected text is italic and the other half is regular, it either becomes all bold italic or all just bold.
I've searched the font object up and down, but it seems the only way to set a single font style at runtime is to completely rebuild the font object. Any ideas on how I can get around this and just set ONE font style without affecting the others?
Thanks, Stopher