Mostrar comentarios más antiguos
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 ?
Respuesta aceptada
Más respuestas (2)
Paulo Silva
el 13 de Dic. de 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 comentarios
Maryam Emad
el 13 de Dic. de 2011
Maryam Emad
el 13 de Dic. de 2011
Walter Roberson
el 13 de Dic. de 2011
set(findobj(handles.figure1,'style','edit', '-or', 'style','popupmenu'),'string','')
Maryam Emad
el 13 de Dic. de 2011
Categorías
Más información sobre Desktop en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!