RScrollbar.OnMoveSlider


public event OnMoveSlider

Prototype:

OnMoveSlider(Sender, EventData)

Parameters

Sender
the event firing control
EventData
contains a string encapsulating the scroll type

Description:

Event raised when the user moves the slide for a scalable/scrollable object.

Scroll type can have one of these values:
SCROLL_NONE
SCROLL_JUMP
SCROLL_STEP_BACKWARD
SCROLL_STEP_FORWARD
SCROLL_PAGE_BACKWARD
SCROLL_PAGE_FORWARD
SCROLL_STEP_UP
SCROLL_STEP_DOWN
SCROLL_PAGE_UP
SCROLL_PAGE_DOWN
SCROLL_STEP_LEFT
SCROLL_STEP_RIGHT
SCROLL_PAGE_LEFT
SCROLL_PAGE_RIGHT
SCROLL_START
SCROLL_END

Return value:

This event can close the application by returning MSG_APPLICATION_QUIT. Any other return value will be ignored.

Example
	// EventData must be evaluated like this
	scroll_type=value EventData;