Jan 5, 2012

How to display label values in multiple lines in Dynamics AX

Sometimes, we need to show a label values in more than one line...
In Dynamics AX, we have the strFmtLB function that allows us to achieve that.

Example:

static void LabelTest(Args _args)
{
;

//"@DAS666" = "Hello\nWorld"
Box::info(strFmtLB("@DAS666"),"Dynamics AX Solutions");
}

No comments: