Carriage Returns and/or Line Feed in INPUT ?

Discuss macro implementations, ask for macro help (to share your creations, see User Creations, probably either Campaign Frameworks or Drop-in Resources).

Moderators: dorpond, trevor, Azhrei, giliath, jay, Mr.Ice

Post Reply
busterbluth
Cave Troll
Posts: 71
Joined: Sat Aug 17, 2019 3:49 pm

Carriage Returns and/or Line Feed in INPUT ?

Post by busterbluth »

Can you get a line break in an INPUT control so that the control window isn't so wide? I'm trying to display a long string in a LABEL and I'd like it to wrap and be longer as opposed to being so wide. I've tried <CR><>LF> as well as <BR> but the INPUT simply displays those characters along with everything else in the string.

User avatar
aliasmask
RPTools Team
Posts: 9126
Joined: Tue Nov 10, 2009 6:11 pm
Location: California

Re: Carriage Returns and/or Line Feed in INPUT ?

Post by aliasmask »

busterbluth wrote:
Sat Feb 01, 2025 1:53 pm
Can you get a line break in an INPUT control so that the control window isn't so wide? I'm trying to display a long string in a LABEL and I'd like it to wrap and be longer as opposed to being so wide. I've tried <CR><>LF> as well as <BR> but the INPUT simply displays those characters along with everything else in the string.
You display it with html. You could use <div> to set the width or insert <br> to break up long lines. In order to use html, you need to wrap the string in <html>...</html> tags.

Post Reply

Return to “Macros”