Forum: GUI-Design mit VCL / FireMonkey / Common Controls
Delphi
by haentschman,
16. Mai 2017
Im Emba FMX Beispiel wird auch beim Schedule das Objekt weggeräumt (über die Referenzzählung)...
procedure TNotificationsForm.btnSendScheduledNotificationClick(Sender: TObject);
var
Notification: TNotification;
begin
{ verify if the service is actually supported }
Notification := NotificationC.CreateNotification;
try
Forum: GUI-Design mit VCL / FireMonkey / Common Controls
Delphi
by haentschman,
16. Mai 2017
In der Dokumentation habe ich nichts finden können, wie mit der Freigabe der Objekte umgegangen wird. :roll: Im Emba Beispiel wird die Notification (PresentNotification) weggeräumt.
Gefühlt sollte sich die NotificationCenter Liste selbst um die Freigabe kümmern. :roll:
Forum: GUI-Design mit VCL / FireMonkey / Common Controls
Delphi
by haentschman,
16. Mai 2017
Moin...:P
...Vieleicht vor dem finally deines Beispieles und du räumst dann die Notification weg? :gruebel:
Zeig mal den kompletten Zusammenhang...