Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- CA-Clipper 5.2 . The Guide To CA-Clippe - Norton Guide http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]

     colorRect(<aRect>, <aColors>) --> self

        Directly alters the color of a rectangular group of cells.  <aRect>
        is an array of four numbers (top, left, bottom, and right).  The
        numbers refer to cells within the data area of the browse display,
        not to screen coordinates.  <aColors> is an array of two numbers.
        The numbers are used as indexes into the color table for the browse.
        These colors will become the normal and highlighted colors for the
        cells within the specified rectangle.

        Cells that are colored using colorRect retain their color until they
        are scrolled off the screen up or down.  Horizontal panning has no
        affect on these colors and, in fact, cells that are currently off
        screen left or right can be colored even if they are not visible.

        This example colors the entire virtual window (on and off screen):

        aRect := {1, 1, browse:rowCount, browse:colCount}
        browse:colorRect( aRect, {2, 1} )

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