Skip to main content

scrollbarDrag

Type

message

Summary

Sent when the scroll is changed by user action

Syntax

scrollbarDrag <hScroll>, <vScroll>

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.

Parameters

NameTypeDescription

hScroll

integer

The new horizontal scroll of the widget

vScroll

integer

The new vertical scroll of the widget

Compatibility and Support

OS

mac

windows

linux

ios

android

Platforms

desktop

server

mobile