Measurement Studio for VB6

cancel
Showing results for 
Search instead for 
Did you mean: 

mouse events fires on invisible plot drawn in cwgraph

i have drawn a plot(which is invisible) on a cwgraph and set graph trackmode to cwgtrackallevents.Mouse events(plotmousedown/plotmouseup) are still fired for this invisible plot.
0 Kudos
Message 1 of 2
(5,742 Views)
Hey Vishal,

What version of the cwgraph are you using? I tried the following program with CWGraph version 7.1 and I did not receive mouse events for the invisible plot.

CWGraph1.PlotY (y)
CWGraph1.Plots(1).Visible = False
CWGraph1.TrackMode = cwGTrackAllEvents

I also tried the PlotMouseMove event and I received this event if the plot was visible and didn't if it was invisible. This event was a lot easier to test. It's hard to click on an invisible plot. Did you see the same behavior with PlotMouseMove?


There are some known issues with invisible plots in earlier versions of Measurement Studio. Please see link below. If you are using an old version then I would assume this is the problem.

RHIVEID=101&RNAME=ViewQuestion&HOID=5065000000080000007A2B0000&ECategory=Measurement+Studio.For+Visu...


I hope this helps!

Regards,

Sarah Miracle
National Instruments
0 Kudos
Message 2 of 2
(5,742 Views)