Livecode Wiki
Advertisement

Sent to a scrollbar when the user clicks below or right of the scrollbar thumb, scrolling forward one screenful.Syntax:

scrollbarPageInc <newPosition>

Examples:

on scrollbarPageInc theMovieNumber
  set the filename of player "Display" \
     to line theMovieNumber of field "Movies"
end scrollbarPageInc

Handle the scrollbarPageInc message if you want to respond to the user clicking in the gray region below or to the right of the [[scrollbar thumb]].

Dragging the scrollbar thumb does not send a scrollbarPageInc message.

If the scrollbarPageInc message is not handled, a scrollbarDrag message is sent in addition.

Parameters:

  • newPosition: The new position of the scrollbar thumb.

See also: scrollbarLineInc (message),scrollbarDrag (message),pageIncrement (property),

Advertisement