home *** CD-ROM | disk | FTP | other *** search
- * ------------------------------------------------------------------------
- * Module......: XPCOLOR.PRG
- * Title.......: Color part of the Expand Library Demonstration Program
- * Author......: Pepijn Smits.
- * Date........: July/August 1992
- * Copyright...: (c)1992 by Softwarebureau Pepijn Smits
- * Notes.......: Clipper 5.01 Demo of the Expand Library
- * ------------------------------------------------------------------------
-
- Static lColor := .f.
-
- Init Function InitColor()
- lColor := (isColor() .and. At('/BW',Upper(XPcommandLine()))=0)
- Return (NIL)
-
- Function NormColor
- SetColor(if(lColor,'W+/B,W+/N,,GR+/B,GR+/N',''))
- XPcolor()
- Return (NIL)
-
- Function MenuColor
- SetColor(if(lColor,'n/w,w+/r,,r/w,gr+/r',''))
- XPcolor()
- Return (NIL)
-