Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- FiveWin 1.9.2 - January 97 - <b>method setcolor class twindow</b> http://www.ousob.com [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
METHOD SetColor CLASS TWindow
--------------------------------------------------------------------------------
Syntax:
   TWindow:SetColor( <ncClrFore>, <nClrBack>, <oBrush> )  -->

Parameters:

<ncClrFore>    Determines the foreground color that will be used when something is
               written to the window. The <ncClrFore> parameter can either be a
               CA-Clipper color string (eg "R/G" ), or it can be a MS-Windows COLOR
               number. If <ncClrFore> IS a character string <nClrBack> will be
               ignored.

<nClrBack>     Determines the background color that will be used when something is
               written to the window. This must be a MS-Windows color number.

<oBrush>       The TBrush() object that will be used to paint the background of the
               window before something is written on the window. If this parameter is
               omitted a TBrush() object will be created which will have the
               background color.

Purpose:
This method allows you to change the color and brush that are used when a window is
repainted. The SetColor() method accepts both CA-Clipper color strings and MS-Windows
COLOR numbers, so for a CA-Clipper programmer there is no need to lose her/his
favorite colorstrings.


Online resources provided by: http://www.ousob.com --- NG 2 HTML conversion by Dave Pearson