OnScroll Event for scrollbox

Please discuss general Delphi programming topics here.

OnScroll Event for scrollbox

Postby rob2xx2 » May 9th, 2005, 8:03 am

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
rob2xx2
Member
Member
 
Posts: 2
Joined: May 9th, 2005, 7:49 am
Location: UK

Postby Stefan » May 9th, 2005, 9:54 am

http://www.swissdelphicenter.ch/torry/s ... hp?id=1603

is a nice article on the subject...
User avatar
Stefan
Moderator
Moderator
 
Posts: 128
Joined: September 27th, 2004, 9:40 am
Location: Tilburg, The Netherlands

Postby rob2xx2 » May 9th, 2005, 12:02 pm

Stefan,

Perfect solution - excellent! Thanks for the quick reply.

rob2xx2
rob2xx2
Member
Member
 
Posts: 2
Joined: May 9th, 2005, 7:49 am
Location: UK


Return to Delphi Programming

Who is online

Users browsing this forum: No registered users and 5 guests

cron