AMOSi:Def Scroll

From Amiga Coding
Revision as of 02:45, 17 November 2007 by Spellcoder (talk | contribs) (Extracted from the AMOSPro V2.00 helpfile)
Jump to: navigation, search

an example can be found on AMOSPro_Examples:Examples/H-3/Help_38.AMOS


Defines a scrolling zone on the current screen. This zone can be scrolled through the display using the SCROLL command.


Def Scroll z,tx,ty to bx,by,dx,dy

z is the scroll zone from 1 to 16.


tx,ty are the coordinates of the top left hand corner of the zone.


bx,y hold the coordinates of the point dialogonally opposite.


dx,dy enters the distance in pixels to be moved right or down in each scroll.