Textbox Environment.NewLine or '\n' alternative?

Hello,

I am running into a bit of an issue with a customization. I’m trying to display multiple lines in a textbox and it’s not working out for me.

In the following image, the text "(1)\n..." just blanks the rest of the string. I tried replacing ‘\n’ with Environment.NewLine or (char)13 and (char)10, but nothing seems to work. When going through the string with arrow keys, there is clearly some character indicating a new line, but it never displays properly.
image
The textbox should be displaying:

(1)
MADE IN CANADA

(1), (1)
MADE IN CHINA

Any suggestions/ideas are welcome.
Thank you!

Is the textbox a multiline one?
Just resizing to a larger box will not make that happen.

Edit:
Need this to be true:
image

3 Likes

It’s a regular textbox. I wasn’t aware of there being another kind of textbox? I checked other text boxes which have multiple lines and they were of the same type.
The options we have are:


I can’t find any multiline

Sorry edited post above to show textbox properties.

1 Like

Wow that’s fantastic… I’m definitely blind :smiley:
image

Thank you very much!!

1 Like

Very welcome! :slight_smile:

1 Like