Forum: Object-Pascal / Delphi-Language
Delphi
by sdean,
5. Dez 2009
I reformed my Question as follows :
how could i do an event before Min Value 'in this case 5 minutes ' ?
Procedure Before(Min:Word);
Var
Sm, // System Time ; Time to compare To
Mt: // My Time ; Time to compare with
Forum: Object-Pascal / Delphi-Language
Delphi
by sdean,
5. Dez 2009
Thank you himitsu
All depends on the Current Time :
i use TTimer .
if X minutes to the current time then Before
if X minutes passed from current time then after
Forum: Object-Pascal / Delphi-Language
Delphi
by sdean,
5. Dez 2009
i'm trying to implement a Before and After Event onTime :
how could i do an event before Min Value 'in this case 5 minutes ' ?
Procedure Before(Min:Word);
Var
Tm:TTime;
begin
Min:=5;// 5 Miutes
Tm:=Now;
{