[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
   ColorMe  ( nTop, nLeft, nBottom, nRight, nColor ) -> .t.

   Colors the Top, Left... defined area in nColor, characters are
   NOT destroyed !

   PARAMETERS:
   Coordinates ( as usual )
   nColor    Clipper ColorCode 0-255 ( see appendix )

   EXAMPLE:
   The following example draws a field with the color of the
   rows changing from row to row.

     // show calculations
     // ------------------
     FOR nX := 1 TO 10

         ColorMe ( nX+5, 12, nX+5, 64, IIF (nX % 2 ==0, 48, 112 ))
         ShowStr ( nX+5, 17, 'I am Row '+STR(nX,2) )

     NEXT






See Also: ShowStr
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson