textarea: how to hold on messages

12 vues (au cours des 30 derniers jours)
patrice boisset
patrice boisset le 29 Oct 2020
Commenté : patrice boisset le 29 Oct 2020
with the app designer, if i put new messages in a textarea the oldest is removed. Some times it's a good thing but in other cases i'd like to keep the message before.
I don't found the property for holding on messages in a textarea.
thanks for help

Réponses (1)

Walter Roberson
Walter Roberson le 29 Oct 2020
There is no property for that.
If you want to add more data you need to fetch the current data and add the new data to the end of it and set that as the active data.
In many cases it is possible to do something similar to
app.TextArea3.Value{end+1} = 'New line to output';
  1 commentaire
patrice boisset
patrice boisset le 29 Oct 2020
thanks for the help

Connectez-vous pour commenter.

Catégories

En savoir plus sur Develop Apps Using App Designer 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