code_junkie

Modifying default tab size in RichTextBox

Nov 11th, 2011
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. private void Form1_Load(object sender, EventArgs e)
  2. {
  3. richTextBox1.SelectionTabs = new int[] { 100, 200, 300, 400 };
  4. }
  5.  
  6. richTextBox1.Text = "t1t2t3t4";
  7. richTextBox1.SelectionTabs = new int[] { 100, 200, 300, 400 };
  8.  
  9. richTextBox1.SelectionTabs = new int[] { 100, 200, 300, 400 };
  10. richTextBox1.Text = "t1t2t3t4";
Add Comment
Please, Sign In to add comment