Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Syntax Edit
  New Posts New Posts RSS Feed - Scrollbar events
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Scrollbar events

 Post Reply Post Reply
Author
Message
matt.dillard View Drop Down
Newbie
Newbie


Joined: 21 May 2008
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote matt.dillard Quote  Post ReplyReply Direct Link To This Post Topic: Scrollbar events
    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).
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 9.342 seconds.