Problems with scrolling w/ the Right mouse button
Problems with scrolling w/ the Right mouse button
When using the Right mouse button to scroll a chart (any plot will do, but a simple 2-d plot is most convenient), scrolling to the left or up accelerates incorrectly. The chart will move faster than the mouse. Moving to the right seems to track more accurately.
Secondly, the mouse is not captured, so the second to scroll outside the bounds of the window, the scrolling stops and isn't recovered until you click again.
These issues are relatively minor, but wanted to bring them to your attention. Thanks again for the great software.
Secondly, the mouse is not captured, so the second to scroll outside the bounds of the window, the scrolling stops and isn't recovered until you click again.
These issues are relatively minor, but wanted to bring them to your attention. Thanks again for the great software.
Hi Phoenix,
thanks for the report. I've annotated them on our wish list to be improved for the next releases.
thanks for the report. I've annotated them on our wish list to be improved for the next releases.
Pep Jorge
http://support.steema.com
http://support.steema.com
-
- Newbie
- Posts: 50
- Joined: Wed Mar 10, 2004 5:00 am
Hi Leroy,
it has not been fixed in the v7.01. We'll try to fix it for the next release.
it has not been fixed in the v7.01. We'll try to fix it for the next release.
You should be able to simulate it using the OnMouseDown,Up and Move events and the SetMinMax method.If not, is there a patch or work-around for this?
Pep Jorge
http://support.steema.com
http://support.steema.com
-
- Newbie
- Posts: 50
- Joined: Wed Mar 10, 2004 5:00 am
Could you please give me an example of this? I need to work-around both the acceleration and mouse capture issues.Pep wrote:Hi Leroy,
it has not been fixed in the v7.01. We'll try to fix it for the next release.You should be able to simulate it using the OnMouseDown,Up and Move events and the SetMinMax method.If not, is there a patch or work-around for this?
Thanks.
Hi Leroy,
you can simulate it using similar code to the following :
you can simulate it using similar code to the following :
Code: Select all
Dim mdown As Boolean
Dim xpos As Integer
Private Sub Form_Load()
With TChart1
.Aspect.View3D = False
.AddSeries scLine
.Series(0).FillSampleValues (1000)
.Page.MaxPointsPerPage = 10
.Zoom.Enable = False
End With
End Sub
Private Sub TChart1_OnMouseDown(ByVal Button As TeeChart.EMouseButton, ByVal Shift As TeeChart.EShiftState, ByVal X As Long, ByVal Y As Long)
mdown = True
xpos = X
End Sub
Private Sub TChart1_OnMouseMove(ByVal Shift As TeeChart.EShiftState, ByVal X As Long, ByVal Y As Long)
If mdown = True Then
If X > xpos Then
TChart1.Axis.Bottom.SetMinMax TChart1.Axis.Bottom.Minimum + 1, TChart1.Axis.Bottom.Maximum + 1
Else
TChart1.Axis.Bottom.SetMinMax TChart1.Axis.Bottom.Minimum - 1, TChart1.Axis.Bottom.Maximum - 1
End If
End If
End Sub
Private Sub TChart1_OnMouseUp(ByVal Button As TeeChart.EMouseButton, ByVal Shift As TeeChart.EShiftState, ByVal X As Long, ByVal Y As Long)
mdown = False
End Sub
Pep Jorge
http://support.steema.com
http://support.steema.com
-
- Newbie
- Posts: 50
- Joined: Wed Mar 10, 2004 5:00 am
That doesn't work. In fact it makes things significantly worse. I don't know if this makes a difference, but I'm using the VCL version of TeeChart 7.Pep wrote:Hi Leroy,
you can simulate it using similar code to the following :Code: Select all
Dim mdown As Boolean Dim xpos As Integer <snip>
This is an important issue in my application because the user will often drag the chart with the mouse. Could you please escalate this issue so that it is fixed in the 7.01 update (and post a fixed version ASAP)?
Perhaps as this is a VCL issue we should move this conversation to the VCL forum. I'll copy this message as a reply to the message you posted there yesterday and we can continue there.
Hi Leroy,
it's a VB code that works fine for the ActiveX version.
We'll try to fix it for the next maintenance release v7.02 (actualy we're in v7.01).
I'll convert the VB code to Delphi and will post it in the VCL forum.
it's a VB code that works fine for the ActiveX version.
We'll try to fix it for the next maintenance release v7.02 (actualy we're in v7.01).
I'll convert the VB code to Delphi and will post it in the VCL forum.
Pep Jorge
http://support.steema.com
http://support.steema.com
-
- Newbie
- Posts: 50
- Joined: Wed Mar 10, 2004 5:00 am
Hi, Pep.Pep wrote:Hi Leroy,
it's a VB code that works fine for the ActiveX version.
We'll try to fix it for the next maintenance release v7.02 (actualy we're in v7.01).
I'll convert the VB code to Delphi and will post it in the VCL forum.
I program in BCB rather than Delphi, but I had no problem converting the code. The problem is that the code makes the problem worse rather than better.
I thought 7.01 was still in beta. Has it been released?
Hi Leroy,
Yes, it has been releases (although in the private customers download page still saying 'Beta').I thought 7.01 was still in beta. Has it been released?
Pep Jorge
http://support.steema.com
http://support.steema.com
Need to add my two cents. I have the same problem with the scroll but its much more of a problem. Running Tchart Pro V7.0.0.2 and have 20 years of dated data ( scrolling needs to be simple). Tried your workaround and that will be ok for the short term, but am looking forward to a fix in the next maintenance release. (BTW thanks for taking the time to provide a workaround)
-
- Newbie
- Posts: 50
- Joined: Wed Mar 10, 2004 5:00 am
I couldn't get the work-around to work at all. In fact it made the problem worse.9523769 wrote: Need to add my two cents. I have the same problem with the scroll but its much more of a problem. Running Tchart Pro V7.0.0.2 and have 20 years of dated data ( scrolling needs to be simple). Tried your workaround and that will be ok for the short term, but am looking forward to a fix in the next maintenance release. (BTW thanks for taking the time to provide a workaround)
I'd guess you're using the ActiveX version of TeeChart - I'm using the VCL version, perhaps that's the difference.