qpgraph.hlp (Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
_SetColor Procedure
  Summary Details Example                                   Back
 
  Argument
 
    color    Color index of color to be set
 
  Description
 
    The _SetColor procedure sets the current color index to that given
    by the Integer argument color. The following graphics routines use
    the current color:
 
      _Arc       ║  _OutGText
      _Ellipse   ║  _Rectangle
      _FloodFill ║  _SetPixel
      _LineTo    ║  _Pie
 
    The default color index is the highest numbered color in the
    current palette. If the argument color is not a valid color index,
    the default is used instead.
 
  _GrStatus Returns
 
    _GrNotInProperMode, _GrParameterAltered