How can I write the writes one under the other

How can I write the writes one under the other? I can only do this like in this picture. If you can help my problem I will be very thankful to you.

grafik

  1. If it is a text field, you must select the Multiline option in the designer in the text field properties. Then the keyboard will appear with "enter". If you need to make a string with a new line in blocks, we do the line break with \n.

  2. If, on the other hand, it is a label, use \n , or you can check the HTML option in the label properties, then we split it with <br>.

1 Like

but how can I apply the ''\n'' function? Can you explain it with examples? Forgive me, I'm new in MIT App Inventor. I don't know a lot of things.

@Anke demonstrated it. After that, you still haven't explained exactly what you need and what you're trying to do. When you explain, you will get more detailed answers. General question - general answer.

We want you to have fun with App Inventor. Here are some resources to help you learn to use the AI2 tools. A very good way to learn App Inventor is to read the free Inventor's Manual here in the AI2 free online eBook http://www.appinventor.org/book2 ... the links are at the bottom of the Web page. The book 'teaches' users how to program with AI2 blocks.

There is a free programming course here http://www.appinventor.org/content/CourseInABox/Intro and the aia files for the projects in the book are here: http://www.appinventor.org/bookFiles

How to do a lot of basic things with App Inventor are described here: http://www.appinventor.org/content/howDoYou/eventHandling .

Also look here App inventor español. Offline. Tutorial. Ejemplos. Instalación. Códigos. Juegos. Curso gratis de App inventor. and here Tutorial Index | imagnity for more tutorials.

Learn about components Component Reference
and visit the Library The MIT App Inventor Library: Documentation & Support Help>Library on the MENU

1 Like

Whenever I hit the save button (If anything wrote on textbox) this writing must go to label and if user writes above ''1'' writing the other writings should be sorted one under the other. That's my problem. By the way I'm saving writings with TinyDB.

Example. When you enter text in the text box with new lines and click Save, the multi-line text also appears in the label.

textboxtest (1).aia (1.5 KB)

If that's not it, I'm sorry, but you need to try harder to present your problem. Use an example, draw a diagram whatever will illustrate the problem. Not everything can be understood in a few words.

Thank you so much. Finally I got the MultiLine option. Up to the present Multiline option didn't show himself :smiley: I don't know how Multiline option didn't show himself :S Everything is okay. Thank you so much again.

Here I wrote what needs to be done.

Yeah I know you wrote that. But I didn't see anything in my MIT App Inventor screen. Whatever. Thank you.

grafik
or:
grafik

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.