how i can make color to active line in richtextBox ?
-
Hello Guys: how i can make color to active line in richtextBox ? ============================================== see this image and u will know what i need http://www.4zz.net/up/uploads/d69700664b.gif ==============================================:rose::rose::rose::rose: .:::thanks in Advance::.
-
Hello Guys: how i can make color to active line in richtextBox ? ============================================== see this image and u will know what i need http://www.4zz.net/up/uploads/d69700664b.gif ==============================================:rose::rose::rose::rose: .:::thanks in Advance::.
RichTextBox richTextBox1 = new RichTextBox(); richTextBox1.BackColor = Color.Yellow; richTextBox1.SelectionStart = 0;(starting point of text selected ) richTextBox1.SelectionLength = 4;( the number of characters selected ) richTextBox1.SelectionFont.Bold = true; richTextBox1.SelectionStart = 9;(starting point of text selected ) richTextBox1.SelectionLength = 5;( the number of characters selected ) richTextBox1.SelectionFont.Bold = true;
-
RichTextBox richTextBox1 = new RichTextBox(); richTextBox1.BackColor = Color.Yellow; richTextBox1.SelectionStart = 0;(starting point of text selected ) richTextBox1.SelectionLength = 4;( the number of characters selected ) richTextBox1.SelectionFont.Bold = true; richTextBox1.SelectionStart = 9;(starting point of text selected ) richTextBox1.SelectionLength = 5;( the number of characters selected ) richTextBox1.SelectionFont.Bold = true;
hi, richTextBox1.BackColor = Color.Yellow; will make the entire richtextbox backcolor to yellow. Instead of making perticular line or active cursor position. with regards prasad:)
-
hi, richTextBox1.BackColor = Color.Yellow; will make the entire richtextbox backcolor to yellow. Instead of making perticular line or active cursor position. with regards prasad:)
Not work , i want make color to one line in richtextbox1(active line) as this http://www.4zz.net/up/uploads/d69700664b.gif[^] i have idea but not work with me 1)test the cursor position 2)for the line where cursror is active make color to it plz help me to do it