System.Beep

From Xojo Documentation

You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!
Method

System.Beep()

New in 2019r2

Supported on Desktop.

Plays the default system alert sound.

Usage

Beep

Notes

The Beep method plays the default Beep sound selected on your computer.

fa-info-circle-32.png
This method is not supported for Mobile projects.

Sample Code

This code beeps if an error occurs:

Var isError As Boolean = True
If isError Then
System.Beep
End If