Results 1 to 3 of 3

Thread: scrolling

  1. #1

    Thread Starter
    Frenzied Member markman's Avatar
    Join Date
    Nov 2000
    Location
    Florida.
    Posts
    1,197

    scrolling

    Using sendMessage and all that stuff, I want to have 2 identical richtextboxes (rtb1 and rtb2) I would type where I want to go in rtb1, click command1, and rtb2 would scroll to where rtb1 is scrolled to. Say I was typing in line 235 in rtb1. I would hit command1 and rtb2 should scroll to line 235. Any ideas how?
    retired member. Thanks for everything

  2. #2
    Megatron
    Guest
    How about:
    Code:
    rtb2.SelStart = rtb1.SelStart

  3. #3

    Thread Starter
    Frenzied Member markman's Avatar
    Join Date
    Nov 2000
    Location
    Florida.
    Posts
    1,197
    The text of the 2 rtb's is different. Im planning on one having numbers consecutively ordered followed by a vbCrLf. The other one is for you to type into. So when you hit command1, the numbers of the rtb2 will line up with the line numbers of rtb1. So what you said wont work
    retired member. Thanks for everything

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