Page 1 of 1

USing V7

Posted: Mon Sep 27, 2004 6:57 pm
by 6921249
Any ideas on why the complier would say "Axis = Bottom" below is not defined, it works under V6. Where I'm using it was created using V7 so there should be no conversion, Right?

[With QuadrantChart.Tools
.Items(0).Active = True
With .Tools.Items(0).asColorband
.Axis = Bottom
.Brush.Style = bsSolid
.Transparency = 0
.StartValue = 12
.EndValue = 100
.DrawBehind = True
.Gradient.Direction = gdTopBottom
.Gradient.StartColor = RGB(255, 0, 0)
.Gradient.EndColor = RGB(251, 206, 51)
.Gradient.Visible = True
End With]

Any Ideas?[/code]

Posted: Tue Sep 28, 2004 6:10 am
by Chris
Hi Mike,
Any ideas on why the complier would say "Axis = Bottom" below is not defined, it works under V6. Where I'm using it was created using V7 so there should be no conversion, Right?
Maybe the dot '.' got lost in translation :) ... the code should read:

Code: Select all

.Axis = TChart1.Axis.Bottom

Thank You

Posted: Tue Sep 28, 2004 10:25 pm
by 6921249
Christopher, thank you worked fine!!

BigMike