Reset button
이전 댓글 표시
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 ?
채택된 답변
추가 답변 (2개)
Paulo Silva
2011년 12월 13일
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
Maryam Emad
2011년 12월 13일
Maryam Emad
2011년 12월 13일
Walter Roberson
2011년 12월 13일
set(findobj(handles.figure1,'style','edit', '-or', 'style','popupmenu'),'string','')
Maryam Emad
2011년 12월 13일
카테고리
도움말 센터 및 File Exchange에서 Desktop에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!