Forum Discussion
Mike_Sabourin
4 years agoContributor II
Dashboard Label question
Source: Migrated from Champions
Does anyone know if it’s possible to use a hard enter (ctrl + enter or vbcrlf in vba code) in a label?
- 4 years ago
You could write a very generic XFBR to simply replace a character sequence of your choosing with a newline, so you could call the function like:
XFBR(My_XFBR, ReplaceWithNewline, Text=[This is \n my text])
and the code does a simple String.Replace("\n",Environment.Newline)
JohnMorehead
4 years agoNew Contributor III
Yes, I was able to get newline characters into a button using an XFBR:
image.png890×342 11.2 KB
- Mike_Sabourin4 years agoContributor II
Yeah. I had considered that, but wanted to be native to the dashboard. Thanks for the affirmation that it would work though!
- JohnMorehead4 years agoNew Contributor III
You could write a very generic XFBR to simply replace a character sequence of your choosing with a newline, so you could call the function like:
XFBR(My_XFBR, ReplaceWithNewline, Text=[This is \n my text])
and the code does a simple String.Replace("\n",Environment.Newline)
Related Content
- 2 years ago
- 5 months ago
- 2 years ago