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

2 views (last 30 days)
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? :)

Accepted Answer

Kevin Holly
Kevin Holly on 7 Apr 2023
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!';

More Answers (0)

Categories

Find more on Develop Apps Using App Designer in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!