Access Violation Steema Active x V8
Posted: Mon Jan 21, 2008 1:47 pm
Forgive the code example. its quick and dirty but shows the problem
TChart1.AddSeries (scFastLine)
TChart1.AddSeries (scFastLine)
TChart1.AddSeries (scFastLine)
TChart1.AddSeries (scFastLine)
TChart1.AddSeries (scFastLine)
TChart1.AddSeries (scFastLine)
TChart1.AddSeries (scFastLine)
TChart1.AddSeries (scFastLine)
TChart1.AddSeries (scFastLine)
TChart1.AddSeries (scFastLine)
TChart1.AddSeries (scFastLine)
TChart1.AddSeries (scFastLine)
TChart1.AddSeries (scFastLine)
TChart1.AddSeries (scFastLine)
TChart1.AddSeries (scFastLine)
TChart1.AddSeries (scFastLine)
TChart1.Legend.MaxNumRows = 2
TChart1.Legend.Alignment = laBottom
TChart1.Tools.Add (tcLegendScrollBar)
This will draw a simple graph with a legend max rows of 2. The problem occurs when you try and scroll the legend scrollbar. when you reach the right hand side the OCX crashes with an access Violation.
Is this a known problem ? or am I being daft ?
TChart1.AddSeries (scFastLine)
TChart1.AddSeries (scFastLine)
TChart1.AddSeries (scFastLine)
TChart1.AddSeries (scFastLine)
TChart1.AddSeries (scFastLine)
TChart1.AddSeries (scFastLine)
TChart1.AddSeries (scFastLine)
TChart1.AddSeries (scFastLine)
TChart1.AddSeries (scFastLine)
TChart1.AddSeries (scFastLine)
TChart1.AddSeries (scFastLine)
TChart1.AddSeries (scFastLine)
TChart1.AddSeries (scFastLine)
TChart1.AddSeries (scFastLine)
TChart1.AddSeries (scFastLine)
TChart1.AddSeries (scFastLine)
TChart1.Legend.MaxNumRows = 2
TChart1.Legend.Alignment = laBottom
TChart1.Tools.Add (tcLegendScrollBar)
This will draw a simple graph with a legend max rows of 2. The problem occurs when you try and scroll the legend scrollbar. when you reach the right hand side the OCX crashes with an access Violation.
Is this a known problem ? or am I being daft ?