Yes it is possible to change the style property of the checkbox in RAP. Try using the Band.BeforePrint event of the band that the checkbox is located to change the style property.
if (some condition) CheckBox1.Style := csXInBox else CheckBox1.Style := csCheckInBox;
My first suggestion would be to upgrade to RB 9.03 and see if that fixes the issue. Contact info@digital-metaphors.com with your serial number and purchasing email for upgrade instructions.
If that does not solve the problem, you will either need to create a pass-thru function that performs this task in Delphi, or consider upgrading your version to RB 10.06.
Comments
Yes it is possible to change the style property of the checkbox in RAP. Try
using the Band.BeforePrint event of the band that the checkbox is located to
change the style property.
if (some condition)
CheckBox1.Style := csXInBox
else
CheckBox1.Style := csCheckInBox;
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Michael
That's not working for me. I try the Band.OnGenerate event as well, it
doesn't work either.
Michael
Which version of ReportBuilder/Delphi are you using? In my testing with RB
10.06 and Delphi 2007 it is working correctly.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Thanks.
Michael
My first suggestion would be to upgrade to RB 9.03 and see if that fixes the
issue. Contact info@digital-metaphors.com with your serial number and
purchasing email for upgrade instructions.
If that does not solve the problem, you will either need to create a
pass-thru function that performs this task in Delphi, or consider upgrading
your version to RB 10.06.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com