PageRight

Description

Occurs when the open space to the right of the scroll box is clicked.

Event ID

Event ID

Objects

pbm_sbnpagedown

HScrollBar, HTrackBar

Arguments

None

Returns

Long. Return code choices (specify in a RETURN statement):

Usage

When the user clicks in a horizontal scroll bar, nothing happens unless you have scripts that change the scroll bar’s Position property:

Examples

Example 1

This code in the PageRight event causes the thumb to move right when the user clicks on the right arrow of the horizontal scroll bar (the page size is stored in the instance variable ii_pagesize):

IF This.Position > &

This.MaxPosition - ii_pagesize THEN

   This.Position = MaxPosition

ELSE

   This.Position = This.Position + ii_pagesize

END IF

See also