Home > Language Reference > Classes > Application
AlarmTriggered Event
Activation of an alarm.
Syntax
Protected Event AlarmTriggered(ByRef bPurge As Boolean)
| Parameter | Description |
| bPurge | Delete the alarm from the system tables. |
Remarks
Your application is launched with this event when an alarm set using the Alarm is activated. You should not carry out any operation that blocks while processing this event. Typically, you will use this event to set the next alarm or to emit a sound. If you want to open a dialog box or start a time consuming operation, you should use the DisplayAlarm event instead.
If you set the bPurge parameter to True, the alarm is deleted from the system tables, which interupts any further processing of this alarm. You can use this technique as an efficient way to prevent the DisplayAlarm event from being received when it is not used.
System requirements
| System | Minimal version | Remarks |
| Palm OS | Palm OS 3.0 | - |
| Windows CE | Windows CE 3.0 | - |