We are launching a dialog when the user double clicks on the chart. The zooming tool appears to stick.
I have attached a sample to reproduce the issue.
Steps:
Launch the dialog
Double click (a blank window will appear)
Then hover back to the chart area.
The zoom indicator is showing but the area is not the focused window.
What do I need to do?
Zoom tool sticking
Zoom tool sticking
- Attachments
-
- SteemaZoomIssue.zip
- (42.13 KiB) Downloaded 377 times
Re: Zoom tool sticking
Hello elby,
I can do many test and I found that using area.Chart.Zoom.Allow=false seems that the problem is solved and works fine for me. Can you please, tell us if using previous suggestion the problem is solved for you?
Thanks,
I can do many test and I found that using area.Chart.Zoom.Allow=false seems that the problem is solved and works fine for me. Can you please, tell us if using previous suggestion the problem is solved for you?
Thanks,
Best Regards,
Sandra Pazos / 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 |
Re: Zoom tool sticking
HI. Sandra,
I tried this solution but we want the zooming tool we just wanted to realize that it is not infocus when the other window has focus so don't try to perform a zoom at that time.
I have tried to listen to IsMouseDirectlyOverChanged and toggle the zoom option as suggested but that doesn't seem to work either.
Any advice on how to keep the feature but let it be smart enough to know that is is not the top most an not focused?
I tried this solution but we want the zooming tool we just wanted to realize that it is not infocus when the other window has focus so don't try to perform a zoom at that time.
I have tried to listen to IsMouseDirectlyOverChanged and toggle the zoom option as suggested but that doesn't seem to work either.
Any advice on how to keep the feature but let it be smart enough to know that is is not the top most an not focused?
Re: Zoom tool sticking
Hello elbay,
I have investigated about your request and we try to answer asap.
Thanks,
I have investigated about your request and we try to answer asap.
Thanks,
Best Regards,
Sandra Pazos / 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 |
Re: Zoom tool sticking
Any updates on a solution to this issue?
Re: Zoom tool sticking
Hello elbay,
Sorry for the delay. After doing many test, we consider your problem, as strange behavior in the WPF, when you use DoubleClick and zoom. I don't have many idees to solve it, except following workarounds, that I think can serve you, to solve your problem:
1.- Change the mouse button with you do zoom, for example, doing scroll with Left button and zoom with right button, to avoid that when you double click zoom is activated.
2.-The easiest solution, for me is do DoubleClid with Right Button of Mouse to open new Window.
In second case you can use a similar code as next:
I hope will helps.
Thanks,
Sorry for the delay. After doing many test, we consider your problem, as strange behavior in the WPF, when you use DoubleClick and zoom. I don't have many idees to solve it, except following workarounds, that I think can serve you, to solve your problem:
1.- Change the mouse button with you do zoom, for example, doing scroll with Left button and zoom with right button, to avoid that when you double click zoom is activated.
2.-The easiest solution, for me is do DoubleClid with Right Button of Mouse to open new Window.
In second case you can use a similar code as next:
Code: Select all
void area_MouseDoubleClick(object sender, System.Windows.Input.MouseButtonEventArgs e)
{
if (_window == null)
{
if (e.RightButton == System.Windows.Input.MouseButtonState.Pressed)
{
_window = new Window();
_window.Left = _window.Left + 200;
_window.Width = 500;
_window.Height = 300;
_window.Show();
_window.Closing += new CancelEventHandler(window_Closing);
}
}
}
Thanks,
Best Regards,
Sandra Pazos / 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 |
Re: Zoom tool sticking
Thanks Sandra,
The problem is using the R-click will make a unconsistency with the rest of our application where the user performs a left double click to open other editors in our application.
Will development continue to search for a solution for this issue? Or is that the best solution available?
The problem is using the R-click will make a unconsistency with the rest of our application where the user performs a left double click to open other editors in our application.
Will development continue to search for a solution for this issue? Or is that the best solution available?
Re: Zoom tool sticking
Hello elby,
At the moment, I think this problem have to relate with bug (TW16015460). I have added this as extra information in this bug and increase its severity to be tried to fix it for next maintenance releases of TeeChart.Net.
Thanks,
At the moment, I think this problem have to relate with bug (TW16015460). I have added this as extra information in this bug and increase its severity to be tried to fix it for next maintenance releases of TeeChart.Net.
Thanks,
Best Regards,
Sandra Pazos / 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 |