with TaskItem do
begin
Activate;
If Triggers.Count> 0 then Triggers[0].Enabled := not Triggers[0].Enabled;
Triggers.UpdateTriggers;
Deactivate(true);
end;
Nothing changed to the task
I also tried to add/remove tfDisabled flag of a taskitem to see if I could the tricks, also no luck.
Does the Demo application work fine? (There is Disable Selected item in Quick Demos tool-button).
If it doesn't then I guess this is a due to Windows Vista. Version 2.0 will handle this.