EasyManua.ls Logo

Adobe ACROBAT FORMS JAVASCRIPT OBJECT - alert

Adobe ACROBAT FORMS JAVASCRIPT OBJECT
64 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Acrobat Forms - JavaScript Object Specification
13
App Object Methods
alert
Parameters: cMessage, [nIcon], [nType]
Returns: nButton
This method displays an alert dialog on the screen. The minimum required parameter is a string
containing the message to be displayed. Optionally, an icon type can be specified by using the
nIcon parameter. The following is a list of icons and their associated values:
Additionally, a button group type can be specified:
This method returns the type of the button that was pressed by the user:
beep
Parameters: [nType]
Returns: none
Icon Value
Error (default) 0
Warning 1
Question 2
Status 3
Button Group Value
OK (default) 0
OK, Cancel 1
Yes, No 2
Yes, No, Cancel 3
Button Type Value
Error 0
OK 1
Cancel 2
No 3
Yes 4

Table of Contents

Related product manuals