General information
Category:
Coding, syntax & commands
Title:
Formatting font in richtextbox
Hi! I would like to know how to format font for the richtextbox control that has its multiline property enabled.
For example, I have:
RichTextBox1.Text = "Sample File Output" + vbCrLf
RichTextBox1.Text = "Date: " + vbCrLf
RichTextBox1.Text = "Time: " + vbCrLf
The first line of the Code above should be in bold character format while the remainder text should be in Normal Font format. Pls. note also that I'm using "Courier New" as my font.
Thanks!
Ramon
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only