Matlab App Designer tab activation and EditField selection

4 vues (au cours des 30 derniers jours)
Etienne Vaccaro-Grange
Etienne Vaccaro-Grange le 18 Sep 2017
Hi,
I would like to do something like:
app.mytab.activate
when clicking on a button but I can't find the right keyword (I've tried .open, .show etc.)
Second thing, I have an Edit Field (text) containing some text from origin and I would like it to disappear when the user clicks on the field to edit it (so that he doesn't have to remove it manually). Basically something like:
if app.EditField.Select
app.EditField.Value='';
end
Otherwise, I have to say I find it really hard to understand how the code works under Matlab App Designer. There seems to be no library with the different actions possible when handling an object. Is there an available guide somewhere?
Thanks for your help.

Réponses (1)

Etienne Vaccaro-Grange
Etienne Vaccaro-Grange le 22 Sep 2017
For the selection of the tab, I found the answer here.
For the documentation, I found one here.
However I did not find any answer to the EditField question. Suggestions are welcome!

Catégories

En savoir plus sur Variables dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by