Class ScrollEvent

Slider/scrollbar event

class ScrollEvent;

Constructors

NameDescription
this (action, minValue, maxValue, pageSize, position) create scroll event

Properties

NameTypeDescription
action[get] ScrollActionaction
maxValue[get] intmax value
minValue[get] intmin value
pageSize[get] intvisible part size
position[get] intcurrent position
position[set] intchange position in event handler to update slider position
positionChanged[get] boolreturns true if position has been changed using position property setter

Methods

NameDescription
defaultUpdatePosition () default update position for actions like PageUp/PageDown, LineUp/LineDown