|
-
Apr 12th, 2004, 06:24 AM
#1
Thread Starter
Junior Member
Check Boxes!!!
Damn this is probably really easy to all of you, but im a beginner.
Now, I have three check boxes one for italics, one for bold and one for underline and i have a rich text box. How would i change all the text in the rich text box depending on which check box i click?(without having to select it) thanks for help ,hepy
-
Apr 12th, 2004, 06:31 AM
#2
When you click them, have this:
VB Code:
Private Sub Bold_Click()
RichTextBox.SelStart = 0
RichTextBox.SelLength = Len(RichTextBox.Text)
RichTextBox.SelBold = True
RichTextBox.SelStart = 0
End Sub
Phreak
Visual Studio 6, Visual Studio.NET 2005, MASM
-
Apr 12th, 2004, 06:51 AM
#3
Thread Starter
Junior Member
Thanks
Thanks, yet again it worked
-
Apr 12th, 2004, 06:53 AM
#4
Please put [Resolved] at the end of the topic name
Phreak
Visual Studio 6, Visual Studio.NET 2005, MASM
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
|