Comment mettre du texte à la ligne dans le label

bonjour, quand j'envoie du texte dans un label je ne parvient pas à avoir le texte comme écrit dans le textebox c'est à dire en ayant plusieurs lignes comme je veux (le texte se met à la suite automatiquement il ne saute pas de ligne ! comment faire pour avoir le texte dans le label identique à ce que j'envoie de mon textebox ?

Hello,

if I set the text from a textBox with several lines to a label, I get the same, with several lines, in the text of the label:

image

can you give more details about your problem?

oui c'est ça mon problème je veux exactement le même texte que la textebox. Mais comment je place le textebox par rapport à mes blocs actuels ?

Capture

Sorry, I don't understand what you want. Do you want to convert those labels into textboxes? Do you want transform those texts into multiline texts? Do you want to join them? where are those original textboxes?

si je prends votre exemple je veux que le label lit le même texte que le textbox (c'est à dire quand je mets du texte à la ligne dans le textebox je veux que le label fasse pareil)

les zone-texte sont dans un autre bouton

If you want a label.Text gets the same text than a textBox.Text, then set label.Text to textBox.Text.,,,like in the example.

And now you are referring to a button ?...button has also Text property...so you can set it to have the same than the label.Text

j'ai compris votre exemple, mais comme j'utilise googlesheet les blocs avec texbox sont comme ça.
Capture

Est ce que je peux ajouter au bouton le labeL et le textbox comme dans votre exemple ?
ou dois-je faire autrement ?

If you want when Click the button that any label.text has the same text than a textBox.Text, then yes, set the label.Text like in the example:

merci pour votre aide

j'ai défini le labelText comme dans votre exemple et quand je clique sur le bouton pour valider ça fonctionne, mais quand je clique sur un autre bouton pour changer d'écran et que je reviens sur l'écran du labeltext pour le relire ça ne fonctionne pas le texte est sur la même ligne . J'ai remarqué que dans la googlesheet les données ne se mettent pas à la ligne, est ce normale ?

mmm, I don't understand exactly what are you doing but, if you want to set again the textBox.Text into a label when back from other screen to the current screen you can use Initialize block (if you back opening the current screen) or the OtherScreenClosed to set the textBox.Text to the label.Text.

Explain this with more details (or an example).

ok mais comment placez vous les blocs pour initialiser ?

Don't move the blocks....explain better what do you want, and what is happening when switching between screens....the text of the labels are changing when you move to other screen and back to the same screen?

It has not sense that a label.Text has a text with several lines and when you move to another screen and back it joins into a only one line....are you setting the label text when you back to the same screen?

je suis d'accord que ça n'a pas de sens que l'étiquette passe à une ligne quand je change d'écran et que je reviens dessus, effectivement c'est bizarre.

Car oui quand je clique sur le bouton14 j'envoie le Textbox dans la googlesheet et je lis le texte dans le Label j'usqu'ici ça fonction car j'obtient plusieurs ligne dans le label comme c'est écrit dans le Textbox. Mais quand je clique sur un autre bouton pour changer d'écran et que je reviens sur l'écran du label pour le lire, le texte du label se remet sur une ligne.
J'ai remarqué que dans la cellule de la googlesheet le texte envoyé est sur une ligne, et donc quand je reviens sur l'écran pour lire le Labeltext, il récupère les données de la cellule comme elle est, puisque le bouton sert à lire les données.
Qu'en pensez-vous ?

voilà mes blocs
Capture5

If I understand right then the problem is that when you back to the screen, you read the data from the sheet and it is recovered in a single line (like it is stored in the sheet) and that is why in the label is also in a line.

oui

The problem then is why multiple lines text is being stored in GoogleSheet on a single line. How are you saving that textBox?

Use this block together the textBox.text to send it to sheet:
image

j'ai essayé mais ça ne fonctionne pas, en plus ça ne m'envoie pas les données

j'enregistre la zone à texte comme ça ,
Capture5

bloc Web
Capture4

mmm, does it return any error? what do you get in responseContent in this case?