|
-
Jun 25th, 2002, 07:51 AM
#1
Thread Starter
yay gay
how do i put bold text in a richtextbox
i cant seem to put bold text in a richtextbox in VB.NET...i dont know how to use the TRUE and FALSE there...hmm i can explain...i mean...it is not anymore like in vb6 wich i could say richtextbox1.selbold=true...how do i do the equivalent to that in vb.net? and in C#?
-
Jun 27th, 2002, 09:25 PM
#2
PowerPoster
VB Code:
Dim fnt As New Font(RichTextBox1.Font, FontStyle.Bold)
RichTextBox1.SelectionFont = fnt
-
Jun 28th, 2002, 07:22 AM
#3
Thread Starter
yay gay
-
Jun 28th, 2002, 07:30 AM
#4
Thread Starter
yay gay
worked tks but how da hell would i guess that was the way to do that? vb6 was easy to guess how to do things here it sucks bad coz it is too hard :\
-
Jun 28th, 2002, 01:11 PM
#5
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|