Scrollbar events |
Post Reply |
Author | |
matt.dillard
Newbie Joined: 21 May 2008 Status: Offline Points: 6 |
Post Options
Thanks(0)
Posted: 09 July 2010 at 11:53am |
I'd love to get access to scrollbar events for the Syntax Edit class.
I'm trying to create a two-pane diff window, and I can't figure out a reliable way to sync up the two text views. Ideally, whenever the user scrolls one of the views, the other one would follow suit. I can get partway there by having a very fast timer that examines the TopRow of each pane to see if it has changed recently, but that's pretty ugly. It's also only a partial solution, because I'd like for the horizontal scrollbars to match, too. I know that the ReportControl allows external scrollbars to be attached, but there are some deficiencies there (e.g., after setting the .Value of a scrollbar programmatically, the scrollbar thumb is in the right place, but the ReportControl doesn't reflect the new position). |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |