Rectangle Tool won't drag
Posted: Thu Jan 10, 2008 8:23 pm
I'm using Visual Basic Express 2005
I just downloaded TeeChart .NET 3.2.2930.22968.
I am unable to drag a rectangle tool. The mouse pointer changes to the hand with the index finger extended, but the Dragging and Dragged events don't fire and the rectangle doesn't move. AllowDrag is set to true. I verified this by creating a new application, adding a chart control, and then using this code:
Jay
I just downloaded TeeChart .NET 3.2.2930.22968.
I am unable to drag a rectangle tool. The mouse pointer changes to the hand with the index finger extended, but the Dragging and Dragged events don't fire and the rectangle doesn't move. AllowDrag is set to true. I verified this by creating a new application, adding a chart control, and then using this code:
Code: Select all
Private WithEvents RectTool As Steema.TeeChart.Tools.RectangleTool
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
RectTool = New Steema.TeeChart.Tools.RectangleTool
RectTool.Chart = TChart1.Chart
RectTool.AllowDrag = True
RectTool.AllowResize = True
RectTool.Active = True
End Sub
Private Sub RectTool_Dragging(ByVal sender As Object, ByVal e As EventArgs) Handles RectTool.Dragging
MsgBox("Dragging")
End Sub
Private Sub RectTool_Dragged(ByVal sender As Object, ByVal e As EventArgs) Handles RectTool.Dragged
MsgBox("Dragged")
End Sub