Labels with line breaks
Views (6481)
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
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.

Like
Report
*This post is locked for comments