Occurs when the open space to the left of the scroll box is clicked.
Event ID |
Objects |
---|---|
pbm_sbnpageup |
HScrollBar, HTrackBar |
None
Long. Return code choices (specify in a RETURN statement):
0 Continue processing
When the user clicks in a horizontal scroll bar, nothing happens unless you have scripts that change the scroll bar’s Position property. For the scroll bar arrows, use the LineLeft and LineRight events; for clicks in the scroll bar background above and below the thumb, use the PageLeft and Right events; for dragging the thumb itself, use the Moved event.
This code in the PageLeft event causes the thumb to move left a predetermined page size when the user clicks on the left arrow of the horizontal scroll bar (the page size is stored in the instance variable ii_pagesize):
IF This.Position < &
This.MinPosition + ii_pagesize THEN
This.Position = MinPosition
ELSE
This.Position = This.Position - ii_pagesize
END IF