Sign in to follow this  

[.net] How to scroll 2 textBoxes at the same time?

This topic is 3587 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi I have two textBoxes. I want to make if I scroll one of the textBox, the other will also scrolled Horizontally or Vertically. So it is synchronized scrolling. And if I have functions to implement the synchronize scrolling, where should I call them from? I mean from what event I should call the functions since the textBox doesn't have events related to scrolling. I cannot change my textBoxes to richTextBox because I only have little time.. So I must keep using regular textBox. Does anyone have the solution in C# / Visual C++? Thank you very much.

Share this post


Link to post
Share on other sites
Quoth Machaira in one of your other numerous threads:

Quote:

You need to at least try to do something yourself instead of just posting multiple questions about the same thing and expecting people to do it for you.


I know you're saying you've tried on your own already, but have you really read the documentation? The docs for the .net framework, and winforms in specific, are quite extensive. The answers you need are found in the reference for the Textbox class (as I already told you in another thread).

Share this post


Link to post
Share on other sites

This topic is 3587 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this