Results 1 to 2 of 2

Thread: Richtextbox linenumbers

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Nov 2006
    Posts
    736

    Richtextbox linenumbers

    Hi guys
    got a few questions all revolving round richtextbox

    1, i want to display line numbers next to each line in the box
    2, i want to be able to click at the begining of a line and select(hightlight) the whole line.

    got as far as this

    Code:
    With RichTextBox1
            .SelStart = 0
            .SelLength = Len(this bit eludes me)
        End With
    i am sure there is some code where i have said this bit eludes me to tell it to stop at the end of the line?

    thanks in advance

  2. #2
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: Richtextbox linenumbers

    See moeur's RichTextBox Tips And Tricks in our CodeBank

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