JVCL Help:TJvEventCollectionItem.Snooze
JVCL Help: TJvEventCollectionItem.Snooze Method
Search in JVCL Help
Search in all projectsSummary
Schedules a reminder event.
Pascal
procedureSnooze(constMSecs: Word; constSecs: Word = 0; constMins: Word = 0; constHrs: Word = 0; constDays: Word = 0);
Parameters
Parameters | Description |
const MSecs: Word | Milliseconds to wait before the reminder event will be generated. |
const Secs: Word = 0 | Seconds to wait before the reminder event will be generated. |
const Mins: Word = 0 | Minutes to wait before the reminder event will be generated. |
const Hrs: Word = 0 | Hours to wait before the reminder event will be generated. |
const Days: Word = 0 | Days to wait before the reminder event will be generated. |
Description
Snooze will schedule a reminder event, separate from the set schedule by the Schedule property. Call this method from the OnExecute event to schedule a reminder to go off after a specified interval.
The parameter order allows you to specify the interval in as less parameters as needed. All specified parameters will be combined, with no range check on any of them (eg. you could specify an interval of 3750 milliseconds, 75 seconds, 62 minutes, 28 hours and 3 days which would result in an interval of 4 days, 5 hours, 3 minutes, 18 seconds and 750 milliseconds. Alternatively you could have specified the interval as 363,798,750 milliseconds).
See Also
TJvEventCollectionItem.LastSnoozeInterval, TJvEventCollectionItem.OnExecute
About
Contribute to this help topic
This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page