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?

Antworten (1)

Kevin Holly
Kevin Holly am 16 Aug. 2022

0 Stimmen

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'')');

Kategorien

Mehr zu Develop Apps Using App Designer finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 12 Jul. 2022

Beantwortet:

am 16 Aug. 2022

Community Treasure Hunt

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

Start Hunting!

Translated by