How to select a uibutton inside a uifgure by default - when the uifigure is opened.
2 次查看(过去 30 天)
显示 更早的评论
The uibutton 'OK' needs to be in selcted condition when the uifigure opens, that is, the blue border on it.(as shown in the image)
This is required because if the user hits Enter, the OK button should execute.
How to program this ?

2 个评论
Walter Roberson
2020-3-28
People do not seem to have found a way to set focus in App Designer.
See though
https://www.mathworks.com/matlabcentral/answers/399946-is-there-a-way-to-set-a-editfield-as-ready-to-accept-input-in-app-designer
回答(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!