Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Formatting font in richtextbox
Message
From
25/01/2001 02:39:40
 
 
To
All
General information
Forum:
Visual Basic
Category:
Coding, syntax & commands
Title:
Formatting font in richtextbox
Miscellaneous
Thread ID:
00468349
Message ID:
00468349
Views:
43
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
Map
View

Click here to load this message in the networking platform