how to clear the edit text automatically?

3 Ansichten (letzte 30 Tage)
norfaizayu
norfaizayu am 31 Jan. 2012
how can i clear the edit text automatically when i push button that i already set to clear the edit text.meaning that, when i push the button, edit text will be clear with word or value in the edit text.

Akzeptierte Antwort

TAB
TAB am 31 Jan. 2012
In your button callback function
set(handles.edit1,'String','');
where edit1 is your edit text
  2 Kommentare
norfaizayu
norfaizayu am 31 Jan. 2012
thank you.
mohamed abonour
mohamed abonour am 24 Dez. 2016
  • Item onethanks pro :D
  • Item two

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (1)

Christopher A. De Oliveira
Christopher A. De Oliveira am 14 Jul. 2019
thanks

Kategorien

Mehr zu Environment and Settings finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by