Mouse position events app designer

I need a function in app designer that when the mouse passes over a figure in my program it needs a blue outline, some help?

回答 (1 件)

Kevin Holly
Kevin Holly 2022 年 8 月 16 日

0 投票

If you want a blue outline on an uiaxes, you could enter the following in the start up function:
set(app.UIFigure, 'WindowButtonMotionFcn', 'drawrectangle(app.UIAxes,''Position'',[0 0 1 1],''FaceSelectable'',false,''FaceAlpha'',0,''InteractionsAllowed'',''none'')');

カテゴリ

ヘルプ センター および File ExchangeDevelop Apps Using App Designer についてさらに検索

質問済み:

2022 年 7 月 12 日

回答済み:

2022 年 8 月 16 日

Community Treasure Hunt

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

Start Hunting!

Translated by