[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 FT_COLOR2N()
 Returns the numeric complement of a Clipper color string
------------------------------------------------------------------------------

 Syntax

      FT_COLOR2N( <cColor> ) -> nValue

 Arguments

     <cColor> is a Clipper color string

 Returns

     The numeric complement of a color string or 0 if passed color
     is invalid.

 Description

     This function is useful when calling other functions that expect
     a numeric color parameter.  It is often more convenient to pass
     a converted color string than having to calculate or look up the
     corresponding number.

 Examples

     nColor := FT_COLOR2N( "gr+/b" )         // returns 30

     FT_SETATTR( 0, 0, 10, 10, nColor )

 Source: COLOR2N.C

 Author: David Richardson

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