Celebrating Delphi's 22nd Birthday with FireMonkey #ILoveDelphi
Delphi turns 22 today. Throughout the day, we've seen many great posts on Delphi, including Marco Cantu's detailed blog post celebrating Delphi's birthday.
I thought we could celebrate Delphi's 22nd birthday with a fun sample application. This app leverages local notifications and allows you to set reminders throughout the day.
RAD Studio provides the TNotificationCenter component to manage multi-device notifications. The notification center allows you to send messages from a running applications. To learn more about our notification support, click here.
procedure TNotificationsForm.btnSendScheduledNotificationClick(Sender: TObject); var Notification: TNotification; begin Notification := NotificationC.CreateNotification; try Notification.Name := 'MyNotification'; Notification.AlertBody := Edit1.Text; Notification.FireDate := Date + TimeEdit1.Time; NotificationC.ScheduleNotification(Notification); ShowMessage('Notification has been scheduled'); finally Notification.DisposeOf; end; end; end.
Please login first in order for you to submit comments