DQBscrollArea
SUB

Prototype

DECLARE SUB DQBscrollArea (BYVAL Layer, BYVAL x1, BYVAL y1, BYVAL x2,
                           BYVAL y2, BYVAL Direction)

Parameters

Layer - Layer to be scrolled

x1 - x coordinate of upper-left corner of area to scroll

y1 - y coordinate of upper-left corner of area to scroll

x2 - x coordinate of lower-right corner of area to scroll

y2 - y coordinate of lower-right corner of area to scroll

Direction - Scrolling direction

Returns

none

Description

Scrolls a specified area on a given layer. The area can be scrolled only by one pixel at a time, and the direction parameter can range from 0 to 3, representing up, down, left and right scrolling. You can use the UP, DOWN, LEFT and RIGHT constants defined into the DIRECTQB.BI file for ease.

Notes:

none