scrollerBeginDrag

Typemessage
DictionaryLCS
LibraryLiveCode Script
Syntax
scrollerBeginDrag
Summary

Sent when a scroll initiating drag is started.

Introduced4.5.3
OSios, android
Platformsmobile
Example
on scrollerBeginDrag
   put "Scroll by dragging started" into field "scroller status"
end scrollerBeginDrag
RelatedCommand: mobileControlCreate, mobileControlDelete, mobileControlSet
Function: mobileControlGet, mobileControlTarget, mobileControls
Message: scrollerEndDecelerate, scrollerBeginDecelerate, scrollerEndDrag, scrollerDidScroll, scrollerScrollToTop
Description

The scrollerBeginDrag message is sent when scrolling is initiated by dragging on a scroller control created using the mobileControlCreate command.

Handle the scrollerBeginDrag message if you want to move LiveCode controls, make changes to the interface or set the appropriate scroll properties of groups and fields to get a native scrolling effect.

The scrollerBeginDrag message is sent to the object containing the script that created the scroller control.