I’m using the following code snippet as a proof of concept to sync scrollbars of two adjacent textboxed, but am getting rather odd ‘StackOverFlow’ exceptions.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
On my mobile, so can not test your code right now, and don’t really follow it, but the StackOverflowException makes me guess that when one of your scrollbars moves, the other is moved by code, triggering an event to move the first one again, triggering an event to move the second one again, and so on until the stack overflows…