Page 1 of 1

New line in a text gadget? (solved)

Posted: Thu Oct 29, 2020 11:13 pm
by AMpos
I have a big text gadget, with a big text on it. How can I add carriage return inside the button?

I am trying this with no luck:

Code: Select all

c.s=chr(12) ;tried also with chr(13)
t.s="First Line"+c+"Second line"
setgadgettext(button,t)

Re: New line in a text gadget? (solved)

Posted: Thu Oct 29, 2020 11:17 pm
by AMpos
The trick was

Code: Select all

c="<br />"