In richtextbox I use this code to make numbering (instead of bullet)
and under the numbering, I use this code to make indention with (a, b, c)Code:RichTextBox1.SelectionBullet = True SendKeys.Send("^+{L}") RichTextBox1.SelectionIndent = 10
now the problem is after it, i will use againCode:RichTextBox1.SelectionBullet = True SendKeys.Send("^+{L 2}") RichTextBox1.SelectionIndent = 20
the numbering start again with 1, instead of 4 (because 3 is the last number)Code:RichTextBox1.SelectionBullet = True SendKeys.Send("^+{L}") RichTextBox1.SelectionIndent = 10
kindly correct my coding please?


Reply With Quote