[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
   nGetForeRGB( cColor ) -> <nForeRGB>
------------------------------------------------------------------------------


 PARAMETER:

  <cColor>       is a clipper color string


 RETURNS:

  <nForeRGB> is the numeric RBG value from the foreground part of the color
  string. 


 DESCRIPTION:

  This function lets you easily convert the foreground color ( 1st value )
  of a clipper color string into a windows color number 


  EXAMPLE:


     +-------------------------------------------------------------+
     | /* CLR_WHITE == 16777215 ==  RGB(255, 255 , 255 )*/         |
     |  ? nGetForeRGB( "W+/B" ) --> 16777215                       |
     +-------------------------------------------------------------+


 SOURCE:

  SOURCE\FUNCTION\nColorToN.C



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