[racket] Scroll events in list-box%

From: Laurent (laurent.orseau at gmail.com)
Date: Wed Jul 28 12:33:13 EDT 2010

On Wed, Jul 28, 2010 at 18:21, Laurent <laurent.orseau at gmail.com> wrote:

> Hi,
> I can see there are scroll events and an `on-scroll' method for canvas%,
> but not for list-box% or list-control%.
> Is there a way to know when a scrollbar is moved in a list-box%?
> I need this to synchronize the scrolling of several list-boxes.
Oops, this one is clearly explained in the docs at set-first-visible-item:

A program cannot detect when the scroll position changes except by polling
> get-first-visible-item<file:///usr/plt->.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20100728/9e560963/attachment.html>

Posted on the users mailing list.