11-23-2021 04:41 PM - last edited on 11-29-2021 03:31 PM by agoralewski
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?
Solved! Go to Solution.
11-23-2021 04:44 PM
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)
11-23-2021 04:42 PM
I don’t think you can. However, the text does support multiline. I did raise an enhancement to add a disable option in Text which will make life a lot easier.
11-23-2021 04:42 PM
Yes, I was able to get newline characters into a button using an XFBR:
11-23-2021 04:43 PM
Yeah. I had considered that, but wanted to be native to the dashboard. Thanks for the affirmation that it would work though!
11-23-2021 04:44 PM
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)