Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

Graphic Tool VB .NET

Hello,

I would like to know how the graphic tools are used?
I would like to create Zoom,PlanXY,.... as in version 6.0!!!!!!

I am lost, help me please.


Thank You

Mickaël CHAPON
0 Kudos
Message 1 of 4
(3,747 Views)
I don't understand your question. What do you mean by "graphic tools"? From the second sentence in your question, I would guess that you're asking how to zoom and pan in the .NET graphs. Is that true? If so, the answer is to first enable zooming and panning via the InteractionMode property. They are enabled by default. At runtime, you zoom by holding the Shift key down while zooming with the mouse and you pan by holding the Ctrl key down while panning with the mouse. For more information, see the Measurement Studio reference for the InteractionMode property and the "Interacting with Measurement Studio Graph .NET Controls" conceptual topic. If you have Measurement Studio 7.1 installed, these links will take you directly to the topics:



If this does not answer your question, please post a reply with more info. Thanks.

- Elton
0 Kudos
Message 2 of 4
(3,743 Views)
Thank you for your answer.
In fact with the .NET version, it isn't possible any more to make:
.TrackMode = CWUIControlsLib.CWGraphTrackModes.cwGTrackDragCursor
.TrackMode = CWUIControlsLib.CWGraphTrackModes.cwGTrackZoomRectXY
.....

we are obliged to use the keys Ctrl and Shift key!!!!

it is a pity because that becomes complicated for the user.

sorry for my English level, it is not brilliant 😞

Thank you
0 Kudos
Message 3 of 4
(3,738 Views)
"Thank you for your answer.
In fact with the .NET version, it isn't possible any more to make:
.TrackMode = CWUIControlsLib.CWGraphTrackModes.cwGTrackDragCursor
.TrackMode = CWUIControlsLib.CWGraphTrackModes.cwGTrackZoomRectXY
....."


I'm not sure what you mean here. The equivalent in .NET would be:


.InteractionMode = GraphInteractionModes.DragCursor
.InteractionMode = GraphInteractionModes.ZoomX Or GraphInteractionModes.ZoomY


It is a little more complicated to use the Shift/Ctrl keys, but the benefit of this approach is that you can have multiple (or even all) interactions enabled at the same time, as opposed to only being able to have one enabled at a time. This is good feedback, though, and we have seen this request from other developers, and we are evaluating adding a way to do interactions without the modifier keys in a future release of Measurement Studio.

- Elton
0 Kudos
Message 4 of 4
(3,719 Views)