OpenDCL Forums

OpenDCL => Runtime/AutoLISP => Topic started by: Zibster on March 05, 2008, 01:00:23 AM

Title: TextBox - next line
Post by: Zibster on March 05, 2008, 01:00:23 AM
Hi,

I need next line in TextBox...


(dcl_Control_SetText bik_Bloki_frmBloki_TextBox1 (strcat "some text" "\n" "next line" (chr 10) "next line" "\U+2424" "next line" (chr 13) "next line"))


sad.jpg --> no one work property: "\n" (chr 10) "\U+2424" (chr 13)   :( :( :(
happy.jpg --> this I want... it is possible ??

FilterStyle - MultilineString is ON;
ver. ODCL 4.1.2.1




[attachment deleted by admin]
Title: Re: TextBox - next line
Post by: owenwengerd on March 05, 2008, 07:40:03 AM
Try changing the 'Filter Style' property to 'Multiline String'.
Title: Re: TextBox - next line
Post by: Zibster on March 06, 2008, 04:23:42 AM
Quote from: owenwengerd on March 05, 2008, 07:40:03 AM
Try changing the 'Filter Style' property to 'Multiline String'.


It is 'Mulitiline String'...
"FilterStyle - MultilineString is ON;"
Title: Re: TextBox - next line
Post by: Fred Tomke on March 07, 2008, 12:04:03 PM
\n is not all, \r is left, so you have to take \r\n

1st line
\r\n
2nd line
\r\n
3rd line


Fred
Title: Re: TextBox - next line
Post by: Zibster on March 11, 2008, 02:01:23 AM
Thanks Fred  ;)