Your code is wrong, because Vec.StartPath creates a new path. Previously it didn't erase the color, but now it does. Try this order of calls: Vec.StartPath(0, 0); Vec.SetPenColor(lClYellow); // <--- after StartPath Vec.SetPenWidth(1); Vec.AddLineToPath(100, 100); Vec.EndPath(); -- Felipe Monteiro de Carvalho