scrollerEndDrag

Typemessage
DictionaryLCS
LibraryLiveCode Script
Syntax
scrollerEndDrag <pDidDecelerate>
Summary

Sent when a scroll initiating drag is finished.

Introduced4.5.3
OSios, android
Platformsmobile
Parameters
NameTypeDescription
pDidDecelerate

Either 'true' or 'false' depending on whether the scroll decelerated or not (iOS Only)

Example
on scrollerEndDrag
   put "Scroll by dragging finished" into field "scroller status"
end scrollerEndDrag
RelatedCommand: mobileControlCreate, mobileControlDelete, mobileControlSet
Function: mobileControlGet, mobileControlTarget, mobileControls
Message: scrollerEndDecelerate, scrollerBeginDecelerate, scrollerBeginDrag, scrollerDidScroll, scrollerScrollToTop
Description

The scrollerEndDrag message is sent when a scroll that was initiated by dragging on a scroller control created using the mobileControlCreate command finishes.

Handle the scrollerEndDrag 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 scrollerEndDrag message is sent to the object containing the script that created the scroller control.