Dear Developer, I think it is an easyone, but i can not seem to figure it out: In the HMI page I would like to show a message generated by some code, becuase it is generated the length is not always the same. I would also like to put the message in a box with certain dimensions therefore need to ad a “new line” in the string to fit it in the message box over more lines. typing it directly into the object an hitting the “enter” just ads \ (shown in the atachment) an de the new line is inserted, Adding \ in the string variable just shows the \ and does not create a new line, how to devide a String varaibale over more lines? what is the “newline” character? \ , \\N, \\R, \ , $N, $n, $R, $r do not work. kind regards, Nick
Hi Nick, According to this recent answer … https://www.plcnext-community.net/en/discussions-2-offcanvas/automatic-text-wrap-in-hmi-text-boxes.html '\ ’ should work, but if that is not the case, then we will need to look into this. EDIT: You’re right, it also does not work for me. I will follow this up. ~ Martin.
Hi Nick, After some investigation, this appears to be a bug (or at least a missing feature), and it has been reported to the developers. Sorry for the inconvenience. ~ Martin.