ITools.Active
ITools
property Active: WordBool;
Type Library
TeeChartx
Description
The Active property enables/disables the indexed Tool.
Example [Visual Basic]:
Dim MyAnnotationTool1 As Integer
Private Sub Command1_Click()
TChart1.Tools.Items(MyAnnotationTool1).Active = False
End Sub
Private Sub Form_Load()
With TChart1
.AddSeries scLine
.Series(0).FillSampleValues 10
MyAnnotationTool1 = .Tools.Add(tcAnnotate)
With .Tools.Items(MyAnnotationTool1).asAnnotation
.Position = ppLeftTop
.Text = "Access"
End With
End With
End Sub