Scroll

>>-aButtonControl~Scroll(--xPos--,--yPos--,--left--,--top--,--right--,--bottom--)-><


The Scroll method moves the rectangle within the associated button and redraws the uncovered area with the button background color. It is used to move bitmaps within bitmap buttons.

Arguments:

The arguments are:

xPos, yPos

The new position of the rectangle, in screen pixels.

left, top, right, bottom

The upper left and lower right corner of the rectangle to be moved.