New line in a text gadget? (solved)

Just starting out? Need help? Post your questions and find answers here.
AMpos
Posts: 42
Joined: Mon Aug 03, 2020 5:15 pm

New line in a text gadget? (solved)

Post 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)
AMpos
Posts: 42
Joined: Mon Aug 03, 2020 5:15 pm

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

Post by AMpos »

The trick was

Code: Select all

c="<br />"
Post Reply