Page 1 of 1

OnScroll Event for scrollbox

PostPosted: May 9th, 2005, 8:03 am
by rob2xx2
Hi group,

I want to synchronise changes to controls on a form with changes that occur when a user scrolls in a TScrollBox on the same form. The TScrollBox scrollbar position property can tell me *where* the scrollbar is, but as far as I can see there is no equivalent to the "OnScroll event" in a 'simple' scrollbar which could tell me *when* the user is scrolling.

Any ideas how to do this?

Many thanx

rob2xx2

PostPosted: May 9th, 2005, 9:54 am
by Stefan
http://www.swissdelphicenter.ch/torry/s ... hp?id=1603

is a nice article on the subject...

PostPosted: May 9th, 2005, 12:02 pm
by rob2xx2
Stefan,

Perfect solution - excellent! Thanks for the quick reply.

rob2xx2