Started by andrew ·
2012-01-20 20:07 UTC ·
6 replies · SMF topic #1742
andrew
2012-01-20 20:07 UTC
i seem to be stupid at the moment... ??? ???
i cant seem to find where to set a text box to word wrap
can anyone point me in the right direction?
kenkrupa
2012-01-20 20:40 UTC
Are you sure you want a text box? That's used for user input. If you want to display a message, use Label - that will wrap automatically.
andrew
2012-01-20 21:37 UTC
thanks for the tip thats what i decided to go with.
its alot easier :)
fred_tomke
2012-01-23 11:09 UTC
Hi,
for the case a textbox is needed to set the content wrapping automatically, you have to set textbox to multiline style, activate vertical scrollbars and auto-v-scroll and deactivate horizontal scrollbars and auto-h-scroll.
Regards, Fred
MiD-AwE
2013-10-16 17:29 UTC
Fred Tomke,
I followed your instruction exactly but the TextBox is still acting like a single line with horizontal scrolling only without the horizontal scrollbar. The vertical scrollbar is visible but the text never line breaks to drop-down to the next line.
Am I missing something? I using the latest version of OpenDCL.
Thank you.
EDIT:: Something is definitely wrong. Owen suggested adding "\r\n" for line breaks, but they just pint out the same as any other text. No multiline?
Ok, in the TextBox Properties -> Filter Style I found 8 - Multiline String. There is no substitute for clear concise information. Thank you.
fred_tomke
2013-10-18 06:30 UTC
Hi, your last EDIT was the first thing I've mentioned: multiline style.
I hope everything works now.
Regards, Fred
MiD-AwE
2013-10-18 17:21 UTC
Works great Fred. You are right you did tell what to look for but the details of where to look were fuzzy.