Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

Calendar.Alarm.SetRelativeTrigger

Sets the relative trigger value.

Component Version macOS Windows Linux Server iOS SDK
Calendar 3.5 ✅ Yes ❌ No ❌ No ❌ No ❌ No
MBS( "Calendar.Alarm.SetRelativeTrigger"; alarmRef; TimeOffset )   More

Parameters

Parameter Description Example
alarmRef The reference to the calendar alarm. $alarmRef
TimeOffset The relative time offset in seconds. -15*60

Result

Returns OK or error.

Description

Sets the relative trigger value.
Setting a relativeTrigger will also set the absoluteTrigger to undefined.
Value is in seconds relative to parent calendar item.

See also

Example Databases

This function checks for a license.

Created 18th August 2014, last changed 13th September 2015


Calendar.Alarm.SetRelatedTo - Calendar.Alarm.SetSound