Answered
I use the following code to change the caption on a checkbox to bold if it is checked.
if (this.rawValue == true)
{this.caption.font.weight = "bold";}
else
{this.caption.font.weight = "normal";}
Does anyone know what codes get me to the color setting. Also, is the caption in rich text, could this be why I can not seem to change the color attribute?
Thanks
RobertH
this.fontColor = "256, 0,0";
Do you have the XML form object model reference? It's all in there.
Thom Parker
The source for PDF Scripting Info
[url=http://www.pdfScripting.com]pdfscripting.com[/url]
The Acrobat JavaScript Reference, Use it Early and Often
[url=http://www.adobe.com/devnet/acrobat/javascript.php]http://www.adobe.com/devnet/acrobat/javascript.php[/url]
Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script