Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :

Labels with line breaks

Volodymyr Giginiak Profile Picture Volodymyr Giginiak
Labels can contain line breaks. For example, “Text1\nText2” (let it has ID @LBL1).

However, if you’ll try to display this label “as is”, the result will be not expected:
Box::info("@LBL1");
Gives


To get the expected message with line break strFmtLB() method should be used:
Box::info(strFmtLB("@LBL1"));
Gives

This was originally posted here.

Comments

*This post is locked for comments