Combo Box - Adobe 12001196 - Acrobat - Mac Manual

Javascript
Hide thumbs Also See for 12001196 - Acrobat - Mac:
Table of Contents

Advertisement

Table Notes.
Check box is checked by default: After using defaultIsChecked, the field is not
necessarily checked. To check the field, either reset the field,
this.resetForm([f.name]), or apply the
Check box is checked by default: To determine if the "Check box is checked by default"
check box on the Options tab is "checked", use isDefaultChecked.
To determine if a check box is "checked", use isBoxChecked.
Actions Tab
The Actions tab shows the same set of properties as for buttons. For details, see the
Actions Tab

Combo Box

The Combo Box Properties dialog has seven tabs: General, Appearance, Options,
Actions, Format, Validate, and Calculate.
General Tab
The General tab shows the same set of properties as for buttons. For details, see the
General Tab
Appearance Tab
The Appearance tab shows the same set of properties as for buttons. For details, see the
Appearance Tab
Options Tab
The Options tab allows the UI user to manipulate the item list of Combo Box. Items can be
added and their names and their corresponding export value can be set. The order of items
in the list can be manipulated and sorted. Items can be deleted. Direct programatic
equivants to these individual operations are limited, but the same operations may be
performed using the methods and properties:
insertItemAt, deleteItemAt,
In addition, the following settings in the UI do have direct programmatic equivalents:
Region/Name
Allow user to enter
custom text
Check spelling
Commit selected
value immediately
Acrobat JavaScript Scripting Guide
for buttons.
for buttons.
for buttons.
clearItems,
See Reference
editable
doNotSpellCheck
commitOnSelChange
Using Acrobat JavaScript in Forms
Creating form fields programmatically
: f.checkThisBox(0);
checkThisBox
setItems
numItems, getItemAt,
,
and currentValueIndices.
Example
f.editable = true;
f.doNotSpellCheck = true;
f.commitOnSelChange = true;
4
67

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Acrobat 6.0

Table of Contents