Afficher commentaires plus anciens
Welcome All...
I have GUI with multiple Edit( To Get User Input ).
I wish to ADD Reset Pushbutton in order to clear All input.
How I can do it ?
Réponse acceptée
Plus de réponses (2)
Paulo Silva
le 13 Déc 2011
set(findobj(0,'style','edit'),'string','') %put this in the button callback
%that should clear all edit uicontrols
or
set(findobj(handles.figure1,'style','edit'),'string','')
%should only clear the edit uicontrols from the current GUI
3 commentaires
Maryam Emad
le 13 Déc 2011
Maryam Emad
le 13 Déc 2011
Walter Roberson
le 13 Déc 2011
set(findobj(handles.figure1,'style','edit', '-or', 'style','popupmenu'),'string','')
Maryam Emad
le 13 Déc 2011
Catégories
En savoir plus sur Desktop dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!