Carriage Returns and/or Line Feed in INPUT ?
Moderators: dorpond, trevor, Azhrei, giliath, jay, Mr.Ice
-
- Cave Troll
- Posts: 71
- Joined: Sat Aug 17, 2019 3:49 pm
Carriage Returns and/or Line Feed in INPUT ?
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.
Re: Carriage Returns and/or Line Feed in INPUT ?
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.busterbluth wrote: ↑Sat Feb 01, 2025 1:53 pmCan 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.
Downloads:
- Notepad++ MapTool addon
- RPEdit details (v1.3)
- Coding Tips: Modularity and Design
- Videos: Macro Writing Tools