Search found 5 matches
- Thu May 12, 2005 7:00 am
- Forum: VCL Scheduling Agent
- Topic: Problem in Enable/Disable a Task
- Replies: 6
- Views: 19729
- Thu May 12, 2005 4:45 am
- Forum: VCL Scheduling Agent
- Topic: Problem in Enable/Disable a Task
- Replies: 6
- Views: 19729
- Thu May 12, 2005 3:25 am
- Forum: VCL Scheduling Agent
- Topic: Problem in Enable/Disable a Task
- Replies: 6
- Views: 19729
- Wed May 11, 2005 3:33 pm
- Forum: VCL Scheduling Agent
- Topic: Problem in Enable/Disable a Task
- Replies: 6
- Views: 19729
Problem in Enable/Disable a Task
Hello, I am having problem in enabling/disabling a task. I am using the folowing code but the changes are not getting saved: var Index : Integer; Task: TTaskItem; begin for Index := 0 to Scheduler.Count - 1 do begin Task := Scheduler.Items[Index]; Task.Activate; if SetActive then //SetActive is proc...
- Tue May 10, 2005 6:50 am
- Forum: VCL Scheduling Agent
- Topic: Error Modifying Trigger Type
- Replies: 1
- Views: 11052
Error Modifying Trigger Type
Hello, I am using the following code with D7: Task.Activate; with Task.Triggers.Add do begin TriggerType := ttDaily; // adding this line produces the error BeginDate := ...; EndDate := ...; StartTime := ...; Duration := ...; Interval := ...; end; Task.Triggers.UpdateTriggers; Task.Deactivate(True); ...