Hi Narcís
I’m still having problems with the new release .NET v2.0.2179.21171. Prior to installing the new release I could select a series with a left mouse click. It now only works with a right mouse click.
I searched and found the button property for drawline, but nothing for TeeChart in general. All my click events were based on left mouse clicks. My testing shows the new version default is right mouse clicks. Where do I change this so they are all left?
I could not fine anything about this change in the release notes either.
Thanks
Default left mouse click now right mouse
-
- Site Admin
- Posts: 1349
- Joined: Thu Jan 01, 1970 12:00 am
- Location: Riudellots de la Selva, Catalonia
- Contact:
Hi -
Using TeeChart .NET v2.0.2179.21171 in Visual Studio 2005, the following code works as expected, that is, a MessageBox appears on clicking the series with the left mouse button:
Using TeeChart .NET v2.0.2179.21171 in Visual Studio 2005, the following code works as expected, that is, a MessageBox appears on clicking the series with the left mouse button:
Can you tell me if the code above works for you?private Steema.TeeChart.Styles.Points points1;
private void Form1_Load(object sender, System.EventArgs e)
{
points1 = new Steema.TeeChart.Styles.Points(tChart1.Chart);
points1.Click+=new MouseEventHandler(points1_Click);
points1.FillSampleValues();
}
private void points1_Click(object sender, System.Windows.Forms.MouseEventArgs g)
{
tChart1.Chart.CancelMouse = true;
MessageBox.Show("CLICK");
}
Thank you!
Christopher Ireland (Steema crew)
Please be aware of the newsgroup archives:
http://www.teechart.net/support/search.php
http://groups.google.com
http://codenewsfast.com/
Christopher Ireland (Steema crew)
Please be aware of the newsgroup archives:
http://www.teechart.net/support/search.php
http://groups.google.com
http://codenewsfast.com/
Hi Christopher,
Sorry I could not wait any longer as I had to release a bug fix of my own. I uninstalled TeeChart .NET v2.0.2179.21171. To date I have not been able to use any of the V2.0 maintenance releases. As I have a license for V1.1 would I be better off with this version?
My original question was with TChart1_ClickSeries not points1_Click but the two are probably the same.
With the new release all my left mouse clicks would now work only with a right mouse click so some default had changed.
With e As System.Windows.Forms.MouseEventArgs I can capture a left click with
If e.Button = MouseButtons.Left Then
End If
Sorry I could not wait any longer as I had to release a bug fix of my own. I uninstalled TeeChart .NET v2.0.2179.21171. To date I have not been able to use any of the V2.0 maintenance releases. As I have a license for V1.1 would I be better off with this version?
My original question was with TChart1_ClickSeries not points1_Click but the two are probably the same.
With the new release all my left mouse clicks would now work only with a right mouse click so some default had changed.
With e As System.Windows.Forms.MouseEventArgs I can capture a left click with
If e.Button = MouseButtons.Left Then
End If
-
- Site Admin
- Posts: 1349
- Joined: Thu Jan 01, 1970 12:00 am
- Location: Riudellots de la Selva, Catalonia
- Contact:
Hi -
TeeChart for .NET version 2 has a large number of new features and improvements on old features which are more than worth the small upgrade fee one has to paySorry I could not wait any longer as I had to release a bug fix of my own. I uninstalled TeeChart .NET v2.0.2179.21171. To date I have not been able to use any of the V2.0 maintenance releases. As I have a license for V1.1 would I be better off with this version?
Which version of TeeChart for .NET are you using?My original question was with TChart1_ClickSeries not points1_Click but the two are probably the same.
With the new release all my left mouse clicks would now work only with a right mouse click so some default had changed.
Thank you!
Christopher Ireland (Steema crew)
Please be aware of the newsgroup archives:
http://www.teechart.net/support/search.php
http://groups.google.com
http://codenewsfast.com/
Christopher Ireland (Steema crew)
Please be aware of the newsgroup archives:
http://www.teechart.net/support/search.php
http://groups.google.com
http://codenewsfast.com/
-
- Site Admin
- Posts: 1349
- Joined: Thu Jan 01, 1970 12:00 am
- Location: Riudellots de la Selva, Catalonia
- Contact:
Hi -
I'm afraid I can't reproduce this behaviour here either. Using TeeChart for .NET v2.0.2179.21171 the following code produces a series click event which is responsive to all mouse click events, that is, to left-button, right-button and middle-button:My original question was with TChart1_ClickSeries not points1_Click but the two are probably the same.
With the new release all my left mouse clicks would now work only with a right mouse click so some default had changed.
Code: Select all
private Steema.TeeChart.Styles.Points points1;
private void Form1_Load(object sender, System.EventArgs e)
{
points1 = new Steema.TeeChart.Styles.Points(tChart1.Chart);
points1.FillSampleValues();
tChart1.ClickSeries +=new Steema.TeeChart.TChart.SeriesEventHandler(tChart1_ClickSeries);
}
private void tChart1_ClickSeries(object sender, Steema.TeeChart.Styles.Series series, int i, System.Windows.Forms.MouseEventArgs e)
{
MessageBox.Show("CLICKED " + i.ToString());
}
As I mentioned earlier, this problem is resolved and will be included in the next maintenance release.It appears ok in the last release but the last point not displaying is a problem.
Thank you!
Christopher Ireland (Steema crew)
Please be aware of the newsgroup archives:
http://www.teechart.net/support/search.php
http://groups.google.com
http://codenewsfast.com/
Christopher Ireland (Steema crew)
Please be aware of the newsgroup archives:
http://www.teechart.net/support/search.php
http://groups.google.com
http://codenewsfast.com/