Get ValueIndex
Posted: Mon Oct 13, 2008 10:04 am
Is there any way to get the ValueIndex of a Ganttchart when the OnMarkTipToolGetText Event is fired up?
Thanks
JD
Thanks
JD
Steema Software - Customer Support Forums
http://216.92.243.79/support/
Code: Select all
Private Sub TChart1_OnMarkTipToolGetText(ByVal Tool As Long, Text As String)
For i = 0 To TChart1.Series(0).Count - 1
If Text = TChart1.Series(0).PointLabel(i) Then
ValueIndex = i
End If
Next
End Sub