Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- ClipOn 3.0 Reference - c_scroll() http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 C_SCROLL()

 DESCRIPTION

 The C_SCROLL() function scrolls an area of the screen up or down
 for a given number of lines in a specified color.  It can also be
 used as a fast method for clearing an area of the screen.

 SYNTAX

 C_SCROLL(st_row, st_col, end_row, end_col [,(+/-)rows] [,color])

 PARAMETERS

 st_row (N), st_col (N), end_row (N), and end_col (N) define the
 upper left and lower right coordinates of the area to scroll.

 rows (N) is the number of rows to scroll up or down.  A positive
 (+) number scrolls the area up, while a negative (-) number scrolls
 the area down.  A zero (0) clears the screen area, which is the
 default, if rows is not specified.

 color (C/N) is the color to display for the scroll area.  The color
 argument can be specified as a dBASE/Clipper color string or a
 numeric color code (see Appendix E).  If color is not specified,
 the current Clipper color is used.

 RETURNS

 There is no return value.

 EXAMPLES

 && Scrolls a rectangle 1 row up in white on blue
 c_scroll(10,10,20,70,1,"W/B")

 && Scrolls a rectangle 2 rows down in bright white on blue (W+/B)
 c_scroll(10,10,20,70,-2,31)

 && Clears the entire screen in the current screen color
 c_scroll(0,0,24,79)


See Also: C_PAN() C_FILL() C_CLS()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson