【发布时间】:2016-03-24 09:37:34
【问题描述】:
我尝试使用 TimeEdit 在特定时间触发通知,但没有成功! 我使用的代码..
try
MyNot.Name := Edit1.Text;
MyNot.AlertBody := Edit2.Text;
MyNot.FireDate := Now + TimeEdit1.Time;
NotificationCenter1.ScheduleNotification(MyNot);
Finally
MyNot.DisposeOf;
我正在使用 Delphi10 Seattle Update1。
【问题讨论】:
-
与 TimeEdit 好友@kami 无关
-
不要考虑 TTimeEdit。我认为,您的问题不在此控制范围内。例如尝试使用
myNot.FireDate:=IncSecond(Now, 30); -
它使用 InSecond 工作,但我无法使用 TimeEdit 触发通知! @kami
-
你传递给 TimeEdit 什么值?
标签: android notifications firemonkey delphi-10-seattle