how to clear the edit text automatically?

3 ビュー (過去 30 日間)
norfaizayu
norfaizayu 2012 年 1 月 31 日
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.

採用された回答

TAB
TAB 2012 年 1 月 31 日
In your button callback function
set(handles.edit1,'String','');
where edit1 is your edit text
  2 件のコメント
norfaizayu
norfaizayu 2012 年 1 月 31 日
thank you.
mohamed abonour
mohamed abonour 2016 年 12 月 24 日
  • Item onethanks pro :D
  • Item two

サインインしてコメントする。

その他の回答 (1 件)

Christopher A. De Oliveira
Christopher A. De Oliveira 2019 年 7 月 14 日
thanks

カテゴリ

Help Center および File ExchangeEnvironment and Settings についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by