|
-
May 24th, 2001, 03:09 PM
#1
Thread Starter
Frenzied Member
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 
-
May 24th, 2001, 04:35 PM
#2
How about:
Code:
rtb2.SelStart = rtb1.SelStart
-
May 24th, 2001, 04:42 PM
#3
Thread Starter
Frenzied Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|