For some reason it will not allow me to delete. the Picture below is my error.
It is simple logic but it will not delete the object.
// no more than 200 triangles to be printed on chart
if (nTriangleCount > 200)
{
nTriangleCount = 0;
bTriangleGraphicReached = true;
}
if(bTriangleGraphicReached == true)
RemoveDrawObject("Tangle"+ nTriangleCount.ToString());
Draw.TriangleDown(this, "Tangle" + nTriangleCount.ToString(), true, 16, dSwingHigh + 1 * TickSize, Brushes.Tomato);
nTriangleCount++;
Comment