|
-
October 9th, 2005, 04:03 AM
#1
How to add formatted text in RichTextBox control?
I have TabPages, Button and RichTextBox controls on my form. I like to format text and than add to RichTextBox which is placed on TabPage when I click on button.
Button1_Click event
RichTextBox1.Text(“This is my first line which I like to add as font size 24”)
Button2_Click event
RichTextBox1.AppendText(ControlChars.CrLf & “This is my second line which I like to add as font size 12”)
Please help to format text and than add to RichTextBox.
Ajay
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
|