Scroll Arrangement Handlers (v2+) - Extensions Thunkable

Home » , » Scroll Arrangement Handlers (v2+) - Extensions Thunkable

Link download ada di bawah :

This extension package included two extensions. Horizontal Scroll Arrangement Handler(HorizontalScrollHandler) AND Vertical Scroll Arrangement Handler(VerticalScrollHandler).
  • Update on 2017.12.25 (Version 3)
    • Fixed that the events of VerticalScrollHandler are not called when it should be called.
    • Fixed that event ScrollChanged of VerticalScrollHandler provides a incorrect data
    • Fixed that ScrollPosition, MaxScrollPosition in different unit (i mess up android dx & appinventor px before)
      and related events should works well now (like ReachBottom)
    • Fixed that OverScrollMode does not affect the actual behaviour (for both Vertical and Horizontal)
    • Added Overscroll events
    • Merry Christmas!
  • Update on 2017.9.29 (Version 2)
    • Fixed problem that names of methods & events not match the standard. (Extension renamed to avoid confusing)
    • Component icons added
    • FadingEdgeEnabled (Property)
    • OverScrollMode (Property)
    • ScrollBarEnabled (Property)
    • UserControl (Property)
    • MaxScrollPosition (Property)
    • ScrollPosition (Property)
  • Update on 2017.8.26:
    • Added TouchUp (Event)

Horizontal Scroll Arrangement Handler (HorizontalScrollHandler)

h-Events




  • OverScrollLeft (dragged leftward)
    whenHorizontalScrollHandler1 ▾.OverScrollLeft displacement do
  • OverScrollRight (dragged rightward)
    whenHorizontalScrollHandler1 ▾.OverScrollRight displacement do
  • ReachLeftEnd
    whenHorizontalScrollHandler1 ▾.ReachLeftEnddo
  • ReachRightEnd
    whenHorizontalScrollHandler1 ▾.ReachRightEnddo
  • ScrollChanged
    whenHorizontalScrollHandler1 ▾.ScrollChanged scrollX do
  • TouchDown
    whenHorizontalScrollHandler1 ▾.TouchDowndo
  • TouchUp
    whenHorizontalScrollHandler1 ▾.TouchUpdo

h-Methods

  • ArrowScrollLeftward (half-width)
    callHorizontalScrollHandler1 ▾.ArrowScrollLeftward
  • ArrowScrollRightward (half-width)
    callHorizontalScrollHandler1 ▾.ArrowScrollRightward
  • PageScrollLeftward (full-width)
    callHorizontalScrollHandler1 ▾.PageScrollLeftward
  • PageScrollRightward (full-width)
    callHorizontalScrollHandler1 ▾.PageScrollRightward
  • RegisterScrollView
    callHorizontalScrollHandler1 ▾.RegisterScrollViewhorizontalScrollArrangement
  • ScrollBy
    callHorizontalScrollHandler1 ▾.ScrollBypx
  • ScrollLeftEnd
    callHorizontalScrollHandler1 ▾.ScrollLeftEnd
  • ScrollRightEnd
    callHorizontalScrollHandler1 ▾.ScrollRightEnd
  • ScrollTo
    callHorizontalScrollHandler1 ▾.ScrollTopx
  • SmoothScrollBy
    callHorizontalScrollHandler1 ▾.SmoothScrollBypx
  • SmoothScrollTo
    callHorizontalScrollHandler1 ▾.SmoothScrollTopx
  • parameters:
    • px - the displacement of scrolling. positive if scrolling rightward, and negative if scrolling leftward

h-Properties

  • FadingEdgeEnabled
    HorizontalScrollHandler1 ▾.FadingEdgeEnabled ▾
    setHorizontalScrollHandler1 ▾.FadingEdgeEnabled ▾
  • MaxScrollPosition
    HorizontalScrollHandler1 ▾.MaxScrollPosition ▾
  • OverScrollMode
    • 0 - Always allow a user to over-scroll this view, provided it is a view that can scroll.
    • 1 (default) - Allow a user to over-scroll this view only if the content is large enough to meaningfully scroll, provided it is a view that can scroll.
    • 2 - Never allow a user to over-scroll this view.
    • (This may looks different in different version of system)
      HorizontalScrollHandler1 ▾.OverScrollMode ▾
      setHorizontalScrollHandler1 ▾.OverScrollMode ▾
  • ScrollBarEnabled
    HorizontalScrollHandler1 ▾.ScrollBarEnabled ▾
    setHorizontalScrollHandler1 ▾.ScrollBarEnabled ▾
  • ScrollPosition - current scroll position
    HorizontalScrollHandler1 ▾.ScrollPosition ▾
  • UserControl - Allow user to drag the scroll arrangement (or not)
    HorizontalScrollHandler1 ▾.UserControl ▾
    setHorizontalScrollHandler1 ▾.UserControl ▾

Vertical Scroll Arrangement Handler (VerticalScrollHandler)

v-Events

  • OverScrollDown (dragged downward)
    whenVerticalScrollHandler1 ▾.OverScrollDown displacement do
  • OverScrollUp (dragged upward)
    whenVerticalScrollHandler1 ▾.OverScrollUp displacement do
  • ReachBottom
    whenVerticalScrollHandler1 ▾.ReachBottomdo
  • ReachTop
    whenVerticalScrollHandler1 ▾.ReachTopdo
  • ScrollChanged
    whenVerticalScrollHandler1 ▾.ScrollChanged scrollY do
  • TouchDown
    whenVerticalScrollHandler1 ▾.TouchDowndo
  • TouchUp
    whenVerticalScrollHandler1 ▾.TouchUpdo

v-Methods

  • ArrowScrollDownward
    callVerticalScrollHandler1 ▾.ArrowScrollDownward
  • ArrowScrollUpward
    callVerticalScrollHandler1 ▾.ArrowScrollUpward
  • PageScrollDownward
    callVerticalScrollHandler1 ▾.PageScrollDownward
  • PageScrollUpward
    callVerticalScrollHandler1 ▾.PageScrollUpward
  • RegisterScrollView
    callVerticalScrollHandler1 ▾.RegisterScrollViewverticalScrollArrangement
  • ScrollBottom
    callVerticalScrollHandler1 ▾.ScrollBottom
  • ScrollBy
    callVerticalScrollHandler1 ▾.ScrollBypx
  • ScrollTo
    callVerticalScrollHandler1 ▾.ScrollTopx
  • ScrollTop
    callVerticalScrollHandler1 ▾.ScrollTop
  • SmoothScrollBy
    callVerticalScrollHandler1 ▾.SmoothScrollBypx
  • SmoothScrollTo
    callVerticalScrollHandler1 ▾.SmoothScrollTopx
  • parameters:
    • px - the displacement of scrolling. positive if scrolling downward, and negative if scrolling upward

v-Properties

  • FadingEdgeEnabled
    VerticalScrollHandler1 ▾.FadingEdgeEnabled ▾
    setVerticalScrollHandler1 ▾.FadingEdgeEnabled ▾
  • MaxScrollPosition
    VerticalScrollHandler1 ▾.MaxScrollPosition ▾
  • OverScrollMode
    • 0 - Always allow a user to over-scroll this view, provided it is a view that can scroll.
    • 1 (default) - Allow a user to over-scroll this view only if the content is large enough to meaningfully scroll, provided it is a view that can scroll.
    • 2 - Never allow a user to over-scroll this view.
    • (This may looks different in different version of system)
      VerticalScrollHandler1 ▾.OverScrollMode ▾
      setVerticalScrollHandler1 ▾.OverScrollMode ▾
  • ScrollBarEnabled
    VerticalScrollHandler1 ▾.ScrollBarEnabled ▾
    setVerticalScrollHandler1 ▾.ScrollBarEnabled ▾
  • ScrollPosition
    VerticalScrollHandler1 ▾.ScrollPosition ▾
  • UserControl - Allow user to drag the scroll arrangement (or not)
    VerticalScrollHandler1 ▾.UserControl ▾
    setVerticalScrollHandler1 ▾.UserControl ▾

Download


  • Last update 2017.12.25 (v3)
.
Share this article :