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

 DESCRIPTION

 The C_WFILL() function fills a ClipOn window with a given color and
 an optional character using the window reference variable.  (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_WFILL(window [,color] [,char] [,box])

 PARAMETERS

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

 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
 Clipper color is used.

 char (C) is the character to fill in the window.  If char is not
 specified, no fill character 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_wfill(w1,"W+/B")            && Fills with high intensity white on blue
 ...
 c_wfill(w1,"W+/B",chr(177))   && Fills window w/ high intensity white
 ...                           && on blue and with a graphics character

 c_wfill(w1,31,chr(2),.t.)     && Fills window w/ high intensity
                               && white on blue and with a graphics
                               && character and indicates that a box
                               && is around the window (w1)


See Also: C_WCLEAR() C_WINDOW() C_XWINDOW() C_WSAVE() C_WRESTORE()

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