Home Features Toolbar Library Forum Download Support Tutorial Manual
3. Reference
Triggers
Controls
Variables
System Variables
Global Values
Functions
AutoFill()
Back()
Beep()
CheckLinks()
Checksum()
Click()
Command()
Customize()
DeleteOption()
Enable()
Execute()
ExportLinks()
Forward()
GetFolderIcon()
GetQuery()
GetSystemIcon()
Header()
Highlight()
HistoryMenu()
Home()
IfExactMatch()
IfMatch()
ImportValue()
ImportCaption()
ImportIntValue()
ImportXMLValue()
Length()
LoadMenu()
Menu()
OpenURL()
Options()
PageText()
PlaySound()
PopupManager()
Refresh()
Replace()
ReplaceAll()
Resize()
ResizeClient()
Redraw()
Save()
Search()
SearchBack()
SearchLast()
SearchNext()
SearchPage()
SetCaption()
SetClipboard()
SetFocus()
SetFontSize()
SetIcon()
SetOption()
SetParam()
SetText()
SetStatusText()
SetTooltip()
SetUserAgent()
SetValue()
Show()
Stop()
StripHTML()
ToolbarMenu()
TruncateOption()
UpdateToolbar()
Zoom()
Text Functions
  

Beep() Function

The Beep function generates simple tone on the PC speaker.


Syntax:

    Beep(frequency,duration)


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:

    PlaySound()



Website Popularity Rank | Build Your Own Toolbar | Free Download | Custom Toolbars | Features | Contact Us

ToolbarBrowser is a freeware project supported by Trellian Limited. | Privacy Policy