Zitat:
i'm trying to implement a Before and After Event onTime :
Depending on what?
if Tm - (Min / 24 / 60) = ... then
When using a TTimer or equivalent never check for equality!
e.g.
if Abs(Tm - (Min / 24 / 60) - ...) < {interval} then
Min is not a good variable name, especially if it integrates the
unit Math.