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_wscroll() http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 C_WSCROLL()

 DESCRIPTION

 C_WSCROLL() allows a ClipOn window to be scrolled up and down a
 specified number of rows, using the window reference variable, with
 an optional color to display for the scroll area.  (Refer to
 Chapter 3 for a complete discussion about ClipOn windows.)

 NOTES

 The numeric reference for the ClipOn window is a pointer to the
 window in memory.  Be careful not to change the value of this
 pointer, or the window will be unaccessible.

 SYNTAX

 C_WSCROLL(window [,rows] [,color] [,box])

 PARAMETERS

 window (N) is the numeric reference variable for the ClipOn window.

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

 color (C/N) is the color to fill in the window.  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
 window color is used.

 box (L) indicates whether or not the window has a box around the
 outer region.  This will prevent the box around the window from
 being overwritten.  Specify true (.T.) if the window has a box
 around the outer region, otherwise false (.F.).  If the window was
 defined with a box when it was created, that definition will be used.

 RETURNS

 There is no return value.

 EXAMPLES

 w1 = c_wsave(10,10,20,70)   && Creates window
 ...
 c_wscroll(w1,1)             && Scrolls window up 1 row
 ...
 && Scrolls window down 10 rows and colors new scroll area red on white
 c_wscroll(w1,-10,"R/W")

 && Scrolls window up 5 rows, colors new scroll area high intensity white
 && on blue, and indicates a box around window so the box is not scrolled
 c_wscroll(w1,5,31,.t.)


See Also: C_WPAN() C_WINDOW() C_WSAVE() C_WRESTORE() C_WFILL()

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