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

2 visualizzazioni (ultimi 30 giorni)
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 Commenti
Walter Roberson
Walter Roberson il 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

Accedi per commentare.

Risposte (0)

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