Using a hex value in rap code
Hi all
Probably a very easy question..
In rap code i can for instance use Label1.Color := clRed but Label1.Color :=
$0080FFFF doesn't work, when i compile the report code i get an error on the
$ char.
Is it possible?
using Delphi 7 Ent with Reportbuilder server 7.03
Thanks
Franky
Probably a very easy question..
In rap code i can for instance use Label1.Color := clRed but Label1.Color :=
$0080FFFF doesn't work, when i compile the report code i get an error on the
$ char.
Is it possible?
using Delphi 7 Ent with Reportbuilder server 7.03
Thanks
Franky
This discussion has been closed.
Comments
Unfortunately hexidecimal numbers are not supported in RAP. You will either
need to use the decimal representation, built-in name such as "clRed", or
create a pass thru function to handle these values.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Best we found was using the built-in RGB function.
Label1.Color := RGB(128,255,255); {$80FFFF}
Thanks,
Brett