How to select a uibutton inside a uifgure by default - when the uifigure is opened.
2 views (last 30 days)
Show older comments
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 Comments
Walter Roberson
on 28 Mar 2020
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
Answers (0)
See Also
Categories
Find more on Develop Apps Using App Designer in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!