How to use a button to delete the last value from a TextArea? [MATLAB app designer]
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Geith
le 6 Mar 2021
Commenté : segu sahishna
le 4 Août 2022
I am creating a simple calculator app in the app designer. When a user presses a button, the app takes the previous value from the display (app.Display.Value) and concatenates the users input button to it, to update the value of the display.
I am trying to implement a delete button which deletes only the last value from the display which is a 'Text Area' component. This is what I have currently but it is not working:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/541336/image.png)
Thanks.
0 commentaires
Réponse acceptée
Plus de réponses (0)
Voir également
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!