PanScreenTo routine

TURBU

PanScreenTo routine

 

Pans the screen to a certain position.

 

Syntax

 

procedure panScreenTo(x, y: word; speed: byte; wait: boolean);

 

Description

 

This routine causes the screen to move to recenter itself around the point specified by the coordinates x and y.  The speed parameter indicates the speed at which the screen scrolls, from 1 (slowest) to 6 (fastest).  Passing 0 or any other invalid value causes the scroll speed to remain unchanged.  If true is passed to the wait parameter, the script's execution will pause until the pan is complete.

 

Related topics

panScreen routine

returnScreen routine

This help file was created with the free trial version of HelpScribble.