KeyShift does nothing
KeyShift does nothing
Hi,
Version 1.1.2117.41652
I have set the Zoom.KeyShift property to a key, however, when running, I press the key and attempt to zoom with the mouse: it appears not to do anything?
Also, attempting to set the property in the designer, to the Shift key, however, the only option is Shift+None, which when selected, the application does not compile.
Thanks,
Vaughan
Version 1.1.2117.41652
I have set the Zoom.KeyShift property to a key, however, when running, I press the key and attempt to zoom with the mouse: it appears not to do anything?
Also, attempting to set the property in the designer, to the Shift key, however, the only option is Shift+None, which when selected, the application does not compile.
Thanks,
Vaughan
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Vaughan,
Sorry for not having replied earlier. It was my fault as I forgot about that. We have implemented that feature so that you'll be able to use Shift, Control or Alt keys as KeyShift. This will be included in next v1 and v2 releases.
Sorry for not having replied earlier. It was my fault as I forgot about that. We have implemented that feature so that you'll be able to use Shift, Control or Alt keys as KeyShift. This will be included in next v1 and v2 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 |
Still applies to Version 1.1.2531.28391?
Still applies to Version 1.1.2531.28391?
I have set the Zoom.KeyShift property to a key, however, when running, I press the key and attempt to zoom with the mouse: it appears not to do anything?
Still applies to Version 1.1.2531.28391?
[/quote]Also, attempting to set the property in the designer, to the Shift key, however, the only option is Shift+None, which when selected, the application does not compile.
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi VH1,
It works fine for me here using latest TeeChart for .NET v1 update build available at the client area and the code below. Have you checked that your project's references have been updated to latest TeeChart.dll?
It works fine for me here using latest TeeChart for .NET v1 update build available at the client area and the code below. Have you checked that your project's references have been updated to latest TeeChart.dll?
Code: Select all
tChart1.Zoom.KeyShift=Keys.Shift;
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 |
Yes,the only TeeChart reference I have is for version 1.1.2531.28391.
I know that I can do "tChart1.Zoom.KeyShift=Keys.Shift" but that is not the point that I am making here.
It does not matter whcih key I assign to this property, it does not appear to zoom as I would expect. Please can you tell me the process of doing the zoom with this key pressed, perhaps I am missing the point here.
As for the designer issue...
Place a chart onto the form
Goto the chart properties in the Visual Studio. NET Properties window
in Misc section, expand Zoom
From this Properties window, attempt to set the KeyShift property to the "Shift" key.
It is impossible...same goes for Alt and Ctrl keys. All three of these keys have "+None" on the end and if I select one of these the application will not compile unless I change it manually (rendering the designer property useless)
I know that I can do "tChart1.Zoom.KeyShift=Keys.Shift" but that is not the point that I am making here.
It does not matter whcih key I assign to this property, it does not appear to zoom as I would expect. Please can you tell me the process of doing the zoom with this key pressed, perhaps I am missing the point here.
As for the designer issue...
Place a chart onto the form
Goto the chart properties in the Visual Studio. NET Properties window
in Misc section, expand Zoom
From this Properties window, attempt to set the KeyShift property to the "Shift" key.
It is impossible...same goes for Alt and Ctrl keys. All three of these keys have "+None" on the end and if I select one of these the application will not compile unless I change it manually (rendering the designer property useless)
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi VH1,
Using the code I mentioned the chart will only zoom when pressing shift key and the zooming mouse button (default is left-button).It does not matter whcih key I assign to this property, it does not appear to zoom as I would expect. Please can you tell me the process of doing the zoom with this key pressed, perhaps I am missing the point here.
I could reproduce this here and added the issue to our defect list to be enhanced for future releases.As for the designer issue...
Place a chart onto the form
Goto the chart properties in the Visual Studio. NET Properties window
in Misc section, expand Zoom
From this Properties window, attempt to set the KeyShift property to the "Shift" key.
It is impossible...same goes for Alt and Ctrl keys. All three of these keys have "+None" on the end and if I select one of these the application will not compile unless I change it manually (rendering the designer property useless)
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 |
Yes, having followed your example I am still unable to zoom.
Please use the file I uploaded to your server: - WindowsApplication7.zip
I included a bug to allow you to see this property. Please change this line to what you mentioned: -
Please then tell me if you can still zoom whilst pressing the shift key? (please ensure that the commander has the normal toolbar button selected before attempting to zoom)
Please use the file I uploaded to your server: - WindowsApplication7.zip
I included a bug to allow you to see this property. Please change this line to what you mentioned: -
Code: Select all
this.tChart1.Zoom.KeyShift = System.Windows.Forms.Keys.Shift;
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi VH1,
Yes, I tested this as well and works as I reported using TeeChart.NET Version 1 Build 1.1.2531.28391 from December 2006.
Yes, I tested this as well and works as I reported using TeeChart.NET Version 1 Build 1.1.2531.28391 from December 2006.
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 |
Hello Vaughan,
I see you have posted an update status for many issues reported for TeeChart for .NET v1, many of them originally reported quite some time ago. Thankyou for bringing them to our attention. Several of those issues have been resolved in version 2 since its release in 2005 but have not been retro-applied to version 1. We'll take a look to see what can be applied to v1 in a short timeframe.
Re. this thread:
I have just checked the issue for this thread on the latest update version, Build 1.1.2531.28391 for a new project.
Code used (only code in project, Series designtime added):
It appears to work correctly. Zoom is only possible with Shift key applied. Please check that your project is correctly referencing the latest assemblies.
We will look at the other issues on your list.
Regards,
Marc Meumann
I see you have posted an update status for many issues reported for TeeChart for .NET v1, many of them originally reported quite some time ago. Thankyou for bringing them to our attention. Several of those issues have been resolved in version 2 since its release in 2005 but have not been retro-applied to version 1. We'll take a look to see what can be applied to v1 in a short timeframe.
Re. this thread:
I have just checked the issue for this thread on the latest update version, Build 1.1.2531.28391 for a new project.
Code used (only code in project, Series designtime added):
Code: Select all
private void Form1_Load(object sender, EventArgs e)
{
tChart1[0].FillSampleValues(10);
tChart1.Zoom.KeyShift = Keys.Shift;
}
We will look at the other issues on your list.
Regards,
Marc Meumann
Steema Support
Ok I admit now without a Commander tool, just tested that, and it works. (A zoom rectangle appears and zooms in after releasing of the left mouse button)
However, If I add the code as you mentioned, the zoom rectangle only appears if I press the shift button down and the left mouse button. It will not appear if I do not press the shift button.
Is this the desired behaviour?
However, If I add the code as you mentioned, the zoom rectangle only appears if I press the shift button down and the left mouse button. It will not appear if I do not press the shift button.
Is this the desired behaviour?
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi VH1,
Yes, that's what I told you yesterday:
Yes, that's what I told you yesterday:
Using the code I mentioned the chart will only zoom when pressing shift key and the zooming mouse button (default is left-button).
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 |