Logged out, click to login

JEDI Online help - Details



Back to unit JvAlarms.pas Back Edit Search Administration

TJvAlarms.Add

Summary
Adds a new alarm.

Parameters
AName - Name of the alarm. The name is the only way you can identify an alarm during an OnAlarm event.
ATime - Date and time at which the alarm should go off.
AKind - The kind of alarm to be added. Kind will default to tkOneShot, meaning that the alarm will fire only once and at the specified time.

Description
Add adds a new alarm to the component. To add an alarm you need to provide a name (the alarm's ID), a date/time when the alarm should fire and the kind of alarm (default's to one-shot).<br>

See Also
Alarms, Delete, OnAlarm, TJvTriggerKind

Last changed by obones on 2011-07-03 13:36:40 CEST

Copyright (c) 2004 by the JVCL Team; all rights reserved
Uses PclZip by phpconcept and parts of the PEAR library