Inserting Colored or Bold text into a RichTextBox 
Author Message
 Inserting Colored or Bold text into a RichTextBox

Hi,

I'm using a RichTextBox rtxtOut

I use rtxtOut.AppendText to the richtextbox, but how can I append bold text
or colored text ???

Thnx.



Fri, 22 Apr 2005 21:32:02 GMT  
 Inserting Colored or Bold text into a RichTextBox


Quote:
> Hi,

> I'm using a RichTextBox rtxtOut

> I use rtxtOut.AppendText to the richtextbox, but how can I append bold
text
> or colored text ???

> Thnx.



Fri, 22 Apr 2005 21:38:30 GMT  
 Inserting Colored or Bold text into a RichTextBox
RichTextBox1.SelectionFont.Bold()

Then add your text.

HTH


Quote:
> Hi,

> I'm using a RichTextBox rtxtOut

> I use rtxtOut.AppendText to the richtextbox, but how can I append bold
text
> or colored text ???

> Thnx.



Fri, 22 Apr 2005 21:39:01 GMT  
 Inserting Colored or Bold text into a RichTextBox
Thnx ;)



Quote:
> RichTextBox1.SelectionFont.Bold()

> Then add your text.

> HTH



> > Hi,

> > I'm using a RichTextBox rtxtOut

> > I use rtxtOut.AppendText to the richtextbox, but how can I append bold
> text
> > or colored text ???

> > Thnx.



Fri, 22 Apr 2005 21:55:47 GMT  
 
 [ 4 post ] 

 Relevant Pages 

1. Bold and non-bold text in a label?

2. RichTextBox: Inserting small images in the text

3. How to insert text to a RichTextBox??

4. VB5 RichTextBox -Insert Text

5. Insert text in a RichTextBox control.

6. richTextBox color on text

7. Multi-colored text in a RichTextBox control?

8. RichTextBox text color

9. change color of inserted text

10. Multiple Text Colors / Fore Colors In A VB4 Text Box

11. Display Only Text Box - Text Color/Background Color

12. Bold Words in RichTextBox

 

 
Powered by phpBB® Forum Software