Beep() Function
The Beep function generates simple tone on the PC speaker. Syntax:
Parameters:
frequency - Frequency of the sound in herz. The freqency must be in the 37 - 32767 range. duration - Duration of the sound in milliseconds.
Remarks:
- On Windows 95, 98 and ME the frequency and duration parameters are ignored and a default system beep is played instead.
- The function is synchronous. It does not return control to the browser until the sound finishes.
Example:
<xml id="toolbar"> <toolbar caption="Beep() Example"> <button caption="Beep" action="Beep(2200,500)"></button> </control> </toolbar> </xml>
Compatibility:
Requires Toolbar Browser v2.00.002 or higher.
See Also:
|