Azzera filtri
Azzera filtri

Mouse position events app designer

2 visualizzazioni (ultimi 30 giorni)
gabriel motta
gabriel motta il 12 Lug 2022
Risposto: Kevin Holly il 16 Ago 2022
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?

Risposte (1)

Kevin Holly
Kevin Holly il 16 Ago 2022
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'')');

Categorie

Scopri di più su Develop Apps Using App Designer in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by