Erasing data in GUI

22 vues (au cours des 30 derniers jours)
seemal
seemal le 23 Fév 2012
Is there a single command that can clear all the edit text boxes in a GUI?

Réponses (1)

Jan
Jan le 23 Fév 2012
With GUI_handle is the handle of the GUI figure:
EditH = findobj(GUI_handle, 'flat', 'Style', 'edit');
set(EditH, 'String', '');

Catégories

En savoir plus sur Interactive Control and Callbacks dans Help Center et File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by