フィルターのクリア

How to disable double-click of mouse when Pan function is enabled?

2 ビュー (過去 30 日間)
Prashant Birajdar
Prashant Birajdar 2015 年 10 月 17 日
回答済み: Walter Roberson 2015 年 10 月 18 日
I am building a GUI contains the main axis to show image also I have push button for zoom the image(using Zoom() function), whenever I clicked on zoom button I'm enables the pan (inbuilt pan() function) if my pointer is on axis. But I am facing problem of double click while my image zoomed. Whenever I double-click on zoomed image it sets to original view, but I want to disable it, while pan mode is enabled?

回答 (1 件)

Walter Roberson
Walter Roberson 2015 年 10 月 18 日
I do not know if that is possible in R2014b or later.
In R2014a or earlier, there is a work-around but not a pretty one. See http://www.mathworks.com/matlabcentral/newsreader/view_thread/283529 . The work-around is known not to work in R2014b and later.

カテゴリ

Help Center および File ExchangeVisual Exploration についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by