vb6
asked on
how do you scroll 2 text boxes with 1 vscroll bar
I have 2 text boxes and a scrollbar which is not attached to nay of the text boxes and I need to scroll all the text boxes with one scroll bar
Text box 1 is "Text1"
Text box 2 is "Text2"
Scroll bar is "Vscroll1"
Text box 1 is "Text1"
Text box 2 is "Text2"
Scroll bar is "Vscroll1"
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
MikeP..... The code you posted is not possible because you can't give the focus to another control if you are scrolling a scrollbar, it's not a command button, on a scrollbar you keep the mousebutton pressed and move the little scrollbox..... And on the other hand, yoo could only send pagedown and up keys, but cannot control exactly the visible portion of text.