Hi, there,
I was trying the demos with Teechart 7 in the "all features". The example "Opaque Zones" under Axes would pop up a dialog saying that "runtime error '91': object variable or With block variable not set". Any idea why? Thank you!
TeeChart demo runtime error
Hi David,
yes, you're correct, it's a bug which has been fixed for the next maintenance release v7.06 which will be out on this week.
The problem was in the index, in meantime to solve it you can just modify the following line :
tmp = tmp * (TChart1.Axis.Custom(tmpAxis).Maximum - TChart1.Axis.Custom(tmpAxis).Minimum)
by this one :
tmp = tmp * (TChart1.Axis.Custom(tmpAxis-1).Maximum - TChart1.Axis.Custom(tmpAxis-1).Minimum)
But remember to update the source again when the v7.06 will be installed.
yes, you're correct, it's a bug which has been fixed for the next maintenance release v7.06 which will be out on this week.
The problem was in the index, in meantime to solve it you can just modify the following line :
tmp = tmp * (TChart1.Axis.Custom(tmpAxis).Maximum - TChart1.Axis.Custom(tmpAxis).Minimum)
by this one :
tmp = tmp * (TChart1.Axis.Custom(tmpAxis-1).Maximum - TChart1.Axis.Custom(tmpAxis-1).Minimum)
But remember to update the source again when the v7.06 will be installed.
Pep Jorge
http://support.steema.com
http://support.steema.com