Results 1 to 2 of 2

Thread: Numbering (bullet) problem

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Oct 2006
    Posts
    719

    Numbering (bullet) problem

    In richtextbox I use this code to make numbering (instead of bullet)
    Code:
    	
            RichTextBox1.SelectionBullet = True
            SendKeys.Send("^+{L}")
            RichTextBox1.SelectionIndent = 10
    and under the numbering, I use this code to make indention with (a, b, c)

    Code:
    	
            RichTextBox1.SelectionBullet = True
            SendKeys.Send("^+{L 2}")
            RichTextBox1.SelectionIndent = 20
    now the problem is after it, i will use again

    Code:
    	
            RichTextBox1.SelectionBullet = True
            SendKeys.Send("^+{L}")
            RichTextBox1.SelectionIndent = 10
    the numbering start again with 1, instead of 4 (because 3 is the last number)

    kindly correct my coding please?

  2. #2
    Addicted Member
    Join Date
    Nov 2010
    Location
    TamilNadu, India
    Posts
    249

    Re: Numbering (bullet) problem

    try this control for Numbered Bullet....
    http://www.codeproject.com/KB/cpp/li...s_for_rtb.aspx

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width