Learning a field's scroll when its scrollbar is released

Craig Newman craig at starfirelighting.com
Mon Feb 2 10:54:21 EST 2026


Sorry, I missed the part about doing this in a field. That message is not sent from a field, only from a scrollbar sort of control.

 In fact, very little indeed is sent from the scrollbar of a field. It may be necessary to trap the 
mouseLeave” message from a transparent rectangular graphic overlying the scrollbar portion of the field. This may be a close as you can get to noticing the terminatiion of the scroll process, and it is not pretty.

Craig

> On Feb 1, 2026, at 5:29 PM, David Epstein via use-livecode <use-livecode at lists.runrev.com> wrote:
> 
> The scrollBarDrag message is sent while the mouse is down.  If I want to know when the drag has ended, I can trap mouseUp in a scrollbar control.  But this does not seem to work for a scrolling field.  Is there a good way to learn the vScroll of a field when the mouse on the field’s scrollbar has been released?
> 
> David Epstein
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


More information about the use-livecode mailing list