Hi All,
I have a form that I am currently working on. The check boxes are grey color on screen, but should print yellow color on printout.
I wrote the following script on the Preprint event.
form1.Page2.Marginalchbx.fillColor = "255, 255, 0";
This is not working, and I do not know why it is not. Is there someone out there that can helpout. I greatly appreciate it.
Thanks
Tammy
Views
Replies
Total Likes
Hi,
try
this.border.fill.color.value = "255,255,0";
in the buttons prePrint event.
Views
Replies
Total Likes
If you want "just" the check box area filed with yellow (vs the entire object) use the following script on the prePrint:
this.ui.oneOfChild.border.fill.color.value = "255,255,0";
On the postPrint event, use the same script but change the RGB color codes ("#,#,#") to represent grey thus restoring the check box to the original state.
Views
Replies
Total Likes