Hidden; Highlight - Adobe ACROBAT FORMS JAVASCRIPT OBJECT Specification

Adobe acrobat version 4.0
Table of Contents

Advertisement

f.fillColor = color.blue;
else
f.fillColor = color.yellow;
In older versions of this specification, this property was named bgColor . The use of bgColor is
now discouraged but for backwards compatibility is still valid.

hidden

Type: Boolean
This property controls whether the field is hidden or visible to the user. If the value is false the
field is visible, true the field is invisible. The default value for hidden is false.
// Set the field to hidden
var f = this.getField("MyField");
f.hidden = true;
display
See also the
property which supersedes this property in later versions.

highlight

Type: String
This property defines how a button reacts when a user clicks it. The four highlight modes
supported are none, invert, push and outline.
• The none highlight does not indicate visually that the button has been clicked.
• The invert highlight causes the region encompassing the button's rectangle to invert
momentarily.
• The push highlight displays the down face for the button (if any) momentarily.
• The outline highlight causes the border of the rectangle to invert momentarily.
The 'highlight' object defines all the characteristics that a button can have. Use it in your
scripts to access the highlight of choice. The following chart shows the highlight object and its
associated keywords:
Acrobat Forms - JavaScript Object Specification
Fields: All
Fields: Button
Type
none
invert
push
outline
Access: R/W
Access: R/W
Keyword
highlight.n
highlight.i
highlight.p
highlight.o
41

Advertisement

Table of Contents
loading

This manual is also suitable for:

Acrobat forms javascript object specification

Table of Contents