Re: [fpc-pascal] red( clGrayText)

2014-12-02 Thread Philippe
Em 01.12.2014 22:42, Mattias Gaertner escreveu: > On Mon, 01 Dec 2014 22:01:15 -0200 > Philippe wrote: > >> [...] http://wiki.lazarus.freepascal.org/Colors#System_colors [1][1] >> >>> I have seen it ... but did not catch that it may not work >> with red( x) ... making it more simple, it me

Re: [fpc-pascal] red( clGrayText)

2014-12-01 Thread Mattias Gaertner
On Mon, 01 Dec 2014 22:01:15 -0200 Philippe wrote: >[...] > http://wiki.lazarus.freepascal.org/Colors#System_colors [1] > > > > 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 clGr

Re: [fpc-pascal] red( clGrayText)

2014-12-01 Thread Philippe
Em 01.12.2014 20:04, Mattias Gaertner escreveu: > On Mon, 01 Dec 2014 15:17:04 -0200 > Philippe 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 wr

Re: [fpc-pascal] red( clGrayText)

2014-12-01 Thread Mattias Gaertner
On Mon, 01 Dec 2014 15:17:04 -0200 Philippe 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 $ff) ?

[fpc-pascal] red( clGrayText)

2014-12-01 Thread Philippe
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 $ff) ? ... another better way? Philippe __