Custom Textbox Reverts to Single Line when Clicked

I have a custom text box that I am not binding to any particular column, just putting text in. I want it to be multiline and able to scroll.

So I made it multiline and when hardcoding the text used \n to tell it to make a new line. The problem is that whenever I click in the box, it reverts the box back to single line. The only way I’ve found to avoid that is to set enabled to false, but that makes it unable to scroll.

Has anyone else run into this problem before?

I did see one person asking about it and they used (char)10 + (char)13, which did not work for me, it acted the same as if I had put \n.

Just realized Epicor likes Environment.NewLine and that seems to fix it.