ASE Home Page Products Download Purchase Support About ASE
ChartDirector Support
Forum HomeForum Home   SearchSearch

Message ListMessage List     Post MessagePost Message

  MouseMovePlotArea event not working when put chartviewer in tabcontrol
Posted by Eva on Oct-18-2018 11:00
I used track line and it worked fine in with vb.net at first.
But it didn't work after I put the chartviewer in TabControl.
Is there any solution?

  Re: MouseMovePlotArea event not working when put chartviewer in tabcontrol
Posted by Eva on Oct-18-2018 11:16
I just found the problem.
change the code from
"Private Sub winChartViewer1_MouseMovePlotArea(ByVal sender As Object,ByVal e As System.Windows.Forms.MouseEventArgs)"
to
"Private Sub WinChartViewer1_MouseMovePlotArea(sender As Object, e As MouseEventArgs) Handles WinChartViewer1.MouseMovePlotArea".

It works fine now.