Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Formatting font in richtextbox
Message
De
25/01/2001 02:39:40
 
 
À
Tous
Information générale
Forum:
Visual Basic
Catégorie:
Codage, syntaxe et commandes
Titre:
Formatting font in richtextbox
Divers
Thread ID:
00468349
Message ID:
00468349
Vues:
39
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform