LabVIEW Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
MichaelBalzer

Press escape to cancel zoom / pan on graph

Status: New

Pressing the escape key while performing a click and drag zoom / pan / cursor operation on a graph should cancel the operation and revert the axes / cursor to the original state. At the moment the zoom operation can only be cancelled by dragging the mouse cursor away from the graph control. There is no way to cancel a pan or cursor operation.

 

The escape key would need to be pressed while the user has the mouse button held down to cancel the operation. This operation mimics cancelling a drag + drop operation within Windows.

 

I'm sure the above could be impelmented as an X-Control, but would be much more convenient if it was native to the LabVIEW graph and chart controls.




Certified LabVIEW Architect
Unless otherwise stated, all code snippets and examples provided
by me are "as is", and are free to use and modify without attribution.
1 Comment
X.
Trusted Enthusiast
Trusted Enthusiast

You could have added that the "escape during action cancels action" trick works on diagrams already.

What about a Crtl+Z that would work during runtime as expected in most applications?

Try to cancel changing a value on a control in LabVIEW at runtime: this won't work. Talk about frustratingly user-unfriendly...