multi line text or label how to insert newline character in textbox entry
I am starting to use the report writer and i would like know how to make multi line entries in a text box or Heading. I have tried just entering newline on keyboard and the program ignores it, i have also tried control newline, alt newline, shift new line etc. so i need some help here.
J
-
Hi Jeff,
Do you mean in the Geocortex Report Designer program? I cant see a way to achieve this in the 'Text' property , but here is a workaround (its not pretty).
Add the text information to the DataField property. You can seperate line with '\r' . This is an escaped carriage return. Interesting to note that if you need multiline in the C# Script editor you need to escape the carriage return and also the New lIne Feed ie '\r\n'
The value in the 'Text' Property will be overriden by the value in the 'DataField' property. See the image. You do need the '=' and the string needs to be in quotes.
The DataField could also be used to concatenate field, parameters and additional text with new lines similar to:
= Field1 + "\r" + param:Parameter1 + "\r" + "extra text"
/customer/servlet/servlet.FileDownload?file=00P6000000em1CvEAI
0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
1 Kommentar