<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
<html><body>
<p>Em 01.12.2014 20:04, Mattias Gaertner escreveu:</p>
<blockquote type="cite" style="padding-left:5px; border-left:#1010ff 2px solid; margin-left:5px; width:100%"><!-- html ignored --><!-- head ignored --><!-- meta ignored -->
<pre>On Mon, 01 Dec 2014 15:17:04 -0200
Philippe <<a href="mailto:philippe@quarta.com.br">philippe@quarta.com.br</a>> wrote:</pre>
<blockquote type="cite" style="padding-left:5px; border-left:#1010ff 2px solid; margin-left:5px; width:100%">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?</blockquote>
<pre>Have you read this?
<a href="http://wiki.lazarus.freepascal.org/Colors#System_colors">http://wiki.lazarus.freepascal.org/Colors#System_colors</a>
Mattias<br /><br /></pre>
<p>I have seen it ... but did not catch that it may not work with red( x) ... making it more simple, it means that the range of values used for those constants as clGrayText is not TColor compatible. Is that correct?</p>
<pre><br />
_______________________________________________
fpc-pascal maillist - <a href="mailto:fpc-pascal@lists.freepascal.org">fpc-pascal@lists.freepascal.org</a>
<a href="http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal">http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal</a>
</pre>
</blockquote>
<p> </p>
</body></html>