[fpc-pascal] red( clGrayText)

Mattias Gaertner nc-gaertnma at netcologne.de
Mon Dec 1 23:04:06 CET 2014


On Mon, 01 Dec 2014 15:17:04 -0200
Philippe <philippe at quarta.com.br> wrote:

>  
> 
> using -Cr (Range Check) option, red( clGrayText) as example, throw
> an exception! 
> 
> how should I program "red" (or green, blue and may be
> some others) functions to avoid that? 
> 
> should I write red( clGrayText
> and $ffffff) ? ... another better way? 

Have you read this?
http://wiki.lazarus.freepascal.org/Colors#System_colors


Mattias



More information about the fpc-pascal mailing list