alert

alert(soundName: Integer);

The alert method of the Application class plays the waveform sound specified in the soundName parameter. In JADE thin client mode, this method always executes on the presentation client.

Use this method in LockException handlers rather than the Global::alert method, to avoid Object not available exceptions occurring when global is locked.

Waveform sounds for sound types are identified by entries in the Sounds section of the registry.

Assign sounds to system events by using the Sounds and Multimedia program item of the standard Windows Control Panel.

You can use the Sounds category global constant values, listed in the following table, in the soundName parameter.

Global Constant Integer Value
Snd_Asterisk #40
Snd_Beep -1
Snd_Default 0
Snd_Exclamation #30
Snd_Hand #10
Snd_Question #20