TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
-
JayG
- Newbie
- Posts: 71
- Joined: Mon Sep 04, 2006 12:00 am
Post
by JayG » 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:
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
Jay
-
Narcís
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
-
Contact:
Post
by Narcís » Fri Jan 11, 2008 8:43 am
Hi Jay,
Thanks for reporting. Yes, this is certainly a bug (TF02012703) which I have added to our defect list to be fixed for the next maintenance release.
I'm afraid this has been broken in the latest maintenance release. In the meantime, the only solution I can think of is resizing or dragging the rectangle tool as shown
here.
-
JayG
- Newbie
- Posts: 71
- Joined: Mon Sep 04, 2006 12:00 am
Post
by JayG » Fri Jan 11, 2008 5:14 pm
If it helps, it works OK in v3.2.2894.29191.
Jay
-
Narcís
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
-
Contact:
Post
by Narcís » Mon Jan 14, 2008 9:35 am
Hi Jay,
Thanks for the information. That's what I suspected.