scrollbarDrag

Typemessage
Dictionarywidget.pdf
LibraryPDF
Syntax
scrollbarDrag <hScroll>, <vScroll>
Associationscom.livecode.widget.pdf
Summary

Sent when the scroll is changed by user action

EditionPro
OSmac, windows, linux, ios, android
Platformsdesktop, server, mobile
Parameters
NameTypeDescription
hScroll

The new horizontal scroll of the widget

vScroll

The new vertical scroll of the widget

Description

This message is sent to the widget when the user changes the scroll by dragging on the scrollbar or gesture.

Note: The parameters of the scrollbarDrag message differ from those sent to a field object as that message only has one parameter for the scroll of the scrollbar being interacted with and is not sent when the scroll changes due to other.