Started by Peter2 ·
2016-10-25 10:51 UTC ·
4 replies · SMF topic #2441
Peter2
2016-10-25 10:51 UTC
How to get a linefeed in read-Only "Textfields"?
The english help tells me only
(dcl-Control-SetText strNewValue [als String])
the German help adds the information that "\r\n" creates a linefeed in multiline(?) texts.
But I only get a single line ...
Peter2
2016-10-26 07:28 UTC
I found the information here:
http://www.opendcl.com/forum/index.php?topic=1742.msg8568#msg8568
It would be great if this information would be added to the help-file.
Peter
fred_tomke
2016-10-28 10:38 UTC
Hello, Peter,
I had a check troughout the product help. I'm sure I've missed something you've mentioned because I've already found the hint of \r\n as well in the Studio as in the help file in the label control and in the textbox control.
Regards, Fred
Peter2
2016-10-28 18:14 UTC
For text-control the German help only describes "\r\n", English help does not.
I'm missing the additional information
you have to set textbox to multiline style, activate vertical scrollbars and auto-v-scroll and deactivate horizontal scrollbars and auto-h-scroll.
fred_tomke
2016-10-28 23:06 UTC
Yes, you are right: I was selfish enough just to check my translations. Sorry.
Regards, Fred