Causes the system to play a sound.
It is available only for client applications.
Syntax
Reference_Syntax.beep( [ INTEGER param ] )
Parameters
param
(Optional)
|
The system code for the appropriate sound.
Each system code corresponds to a specific Windows program event.
-
0
(Error) - Corresponds to the Critical
Stop program event.
-
1
(Warning) - Corresponds to the Exclamation
program event.
-
2
(Question) - Corresponds to the Question
program event.
-
3
(Status) - Corresponds to the Asterisk
program event.
-
4
(Default) - Corresponds to the Default
Beep program event.
To view the list of Windows
program events, click Start > Settings > Control Panel >
Sounds and Audio Devices, and then click the Sounds tab. The Program
Events list displays a list of system events. Events marked with
a speaker icon have an associated sound.
|
JavaScript
xfa.host.beep("3");
FormCalc
xfa.host.beep("3")
|
|
|