Hello,
there is a bug in GanttTool.
His events DragBar and ResizeBar fire only when you are moving bar to the right but not to the left. The same situation when you trying to resize the bar so events will fire only when you are resizing bar to the right side.
Please fix it as soon as possible. This bug is critical for my application.
Thank you.
Best regards,
Anton Rau
Bug in GanttTool
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Aton,
It works fine here using latest TeeChart for .NET v2 maintenance release available at our Customer Download Area. Which TeeChart version are you using?
It works fine here using latest TeeChart for .NET v2 maintenance release available at our Customer Download Area. Which TeeChart version are you using?
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
Hi Narcís,
no, it is still not working even with the latest version (2.0.2242.29274).
Just try to assign GanttTool to one Gantt series and then drag it to the right (then it works), afterwards drag it to the left (not working anymore).
Also I have found another bug: property Zoom Direction is not serialized in the design mode so the only solution to set it in run-time.
Best regards,
Anton Rau
no, it is still not working even with the latest version (2.0.2242.29274).
Just try to assign GanttTool to one Gantt series and then drag it to the right (then it works), afterwards drag it to the left (not working anymore).
Also I have found another bug: property Zoom Direction is not serialized in the design mode so the only solution to set it in run-time.
Best regards,
Anton Rau
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Anton,
It works fine for me using the version you mention. Have you checked that your project reference to TeeChart has really changed and the TeeChart.dll it uses corresponds to that version?no, it is still not working even with the latest version (2.0.2242.29274).
Just try to assign GanttTool to one Gantt series and then drag it to the right (then it works), afterwards drag it to the left (not working anymore).
Yes, you are right, I could reproduce that and added the issue (TF02011338) to our defect list to be fixed for future releases.Also I have found another bug: property Zoom Direction is not serialized in the design mode so the only solution to set it in run-time.
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
Hi Narcís,narcis wrote:Hi Anton,
It works fine for me using the version you mention. Have you checked that your project reference to TeeChart has really changed and the TeeChart.dll it uses corresponds to that version?no, it is still not working even with the latest version (2.0.2242.29274).
Just try to assign GanttTool to one Gantt series and then drag it to the right (then it works), afterwards drag it to the left (not working anymore).
I have checked the version of the assembly and it is the latest one. Also I made a small demo of the problem. If you will try this code you will see the problem:
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace WindowsApplication2
{
public partial class Form1 : Form
{
int j = 0;
public Form1()
{
InitializeComponent();
this.gantt1.Add(DateTime.Today, DateTime.Now, 100, Color.Red);
}
private void ganttTool1_DragBar(object sender, Steema.TeeChart.Tools.GanttDragEventArgs e)
{
j++;
this.Text = j.ToString();
}
}
}
The caption of the form will be changed only when you will drag a bar to the right, not to the left.
Best regards,
Anton Rau
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Anton,
Thanks for the code an sorry for having read the issue to quick. I didn't notice it were the events which weren't fired. I saw the gantt bars were resized and dragged. I've added the issue (TF02011339) to our defect list to be fixed for future releases.
BTW: I've already fixed the zoom direction bug. This fix will be included in the next debug build and maintenance releases.
Thanks for the code an sorry for having read the issue to quick. I didn't notice it were the events which weren't fired. I saw the gantt bars were resized and dragged. I've added the issue (TF02011339) to our defect list to be fixed for future releases.
BTW: I've already fixed the zoom direction bug. This fix will be included in the next debug build and maintenance releases.
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |