0

hi all, i m a newbie in this forum and vb.net application, but i want to learn this language. please help with your post. Thx all. :)
this my question :
How i can make my font to looks Bold, Italic or Underline in rich text box with vb.net ??

Ok. Best Regards...

4
Contributors
6
Replies
13
Views
9 Years
Discussion Span
Last Post by Jx_Man
0

this my sample code but i m got an error :
RichTextBox1.Font.Bold = False
how it can be?? i think i did not do mistake with that code.
Please Help me...
Best Regards

2

Try these:

RichTextBox.SelectionFont = New Font("Tahoma", 12, FontStyle.Underline)
RichTextBox.SelectionFont = New Font("Tahoma", 12, FontStyle.Bold)
RichTextBox.SelectionFont = New Font("Tahoma", 12, FontStyle.Italic)

Then add the text to the RichTextBox Control.

Votes + Comments
Help me too
Very Helpfull
0

Thx for the code all. I will post some again.
see you friends... :)

0

Can we able to format BOLD and ITALIC to the same text?
Please reply ASAP.

How about make your own thread???

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.