How to select a uibutton inside a uifgure by default - when the uifigure is opened.

2 vues (au cours des 30 derniers jours)
Arpit Agarwal
Arpit Agarwal le 28 Mar 2020
Commenté : Arpit Agarwal le 28 Mar 2020
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 commentaires
Walter Roberson
Walter Roberson le 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

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Develop Apps Using App Designer dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by