These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Making button text bold through code

toumazos
Registered: Jul 9 2010
Posts: 7

Hi,

I was just wondering if anyone knew how to make the text of a button bold when clicked?

Thanks

toumazos
Registered: Jul 9 2010
Posts: 7
I've tried both:

Form1.Page1.T18::click - (JavaScript, client)

xfa.form.Form1.Page1.T18.caption.font.weight = "bold"; //Doesnt show as bold

and

Form1.Page1.T18::click - (JavaScript, client)

this.caption.font.weight = "bold"; //Still doesnt show

It does change color when i do

this.font.fill.color.value = "255,255,255"

What's going wrong?