Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TcxSchedulerReminders.OnAlertReminder Event

In This Article

Allows you to customize the AReminder‘s alert behavior.

#Declaration

Delphi
property OnAlertReminder: TcxSchedulerReminderEvent read; write;

#Remarks

Fires when AReminder is about to trigger.

Sender specifies the TcxSchedulerReminders collection that contains AReminder.

AReminder specifies the reminder instance, which will alert.

AHandled specifies whether default execution is required when the event handler has finished. Set AHandled to True to prevent default execution.

The following example demonstrates how to handle this event, so that reminder alerts will be filtered by a specific resource:

Delphi
uses
  cxVariants;
// ...
procedure TDBDemoMainForm.SchedulerDBStorageRemindersAlertReminder(
  Sender: TcxSchedulerReminders; AReminder: TcxSchedulerReminder;
  var AHandled: Boolean);
begin
  AHandled := not VarEqualsSoft(AReminder.ResourceID, <AlertResourceID>);
end;

This event can also be used for developing schedule-driven applications, if required.

Note

use the OnAlertReminder event to keep tracking on triggered reminders, if the UseReminderWindow property is set to False.

See Also