Ältere Kommentare anzeigen
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 ?
Akzeptierte Antwort
Weitere Antworten (2)
Paulo Silva
am 13 Dez. 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 Kommentare
Maryam Emad
am 13 Dez. 2011
Maryam Emad
am 13 Dez. 2011
Walter Roberson
am 13 Dez. 2011
set(findobj(handles.figure1,'style','edit', '-or', 'style','popupmenu'),'string','')
Maryam Emad
am 13 Dez. 2011
Kategorien
Mehr zu Desktop finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!