why is the text field in app2 not showing the value I want it to show..?

2 ビュー (過去 30 日間)
Muazma Ali
Muazma Ali 2023 年 4 月 7 日
コメント済み: Muazma Ali 2023 年 4 月 10 日
Hi !
My boreholestability app ( that is just the front page) is using app2 and here I have a text field which is supposed to show different text according to the color of the lamp. But it is not happening..? Can anybody tell me how I can fix the issue? :)

採用された回答

Kevin Holly
Kevin Holly 2023 年 4 月 7 日
Please see app2 attached. I changed two lines. You did not have a uitextarea component called "EnterthenragainTextArea" but rather "TextArea". Secondly, There was no subfield "Text", but rather "Value".
app.EnterthenragainTextArea.Text='Choose a valid input';
to
app.TextArea.Value='Choose a valid input';
and
app.EnterthenragainTextArea.Text='Input accepted!';
to
app.TextArea.Value='Input accepted!';

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeDevelop Apps Using App Designer についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by