Mouse position events app designer
3 次查看(过去 30 天)
显示 更早的评论
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?
0 个评论
回答(1 个)
Kevin Holly
2022-8-16
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'')');
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Develop Apps Using App Designer 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!