Home› Programming
Discussion
Back to discussions page
fihcnc
Posts: 8 Apprentice
Popup or prompt line break |
116 views
|
Answered | |
/ Most recent by matthewd92
in Programming
|
7 comments |

in Programming
Like the title says, how can i line-break a popup or input-prompt? For most languages I know, adding \n to the text would break the line.
Lets say i want to print the following:
Lets say i want to print the following:
This is an example
of what im trying to do
Neither of the following lines workof what im trying to do
popup("This is an example \n of what im trying to do", "Title", False, False) popup("This is an example" + \n + "of what im trying to do", "Title", False, False)
Tagged:
As a work around you could add some spaces until you reach the maximum width of the window ?
It is a big heavy but it should works.
Outputs:
Trying to force it by using "StringPart1 " + " " + " " + " " + " String part 2" doesn't work either
"line1"<br>"line2"
It works.
I looks like popup handle html code.
Apperantly displayed text in UR can be formatted using HTML in general.