OpenDCL Forums

OpenDCL => FAQs => Topic started by: Fred Tomke on December 12, 2009, 03:05:58 PM

Title: Carriage return in textboxes and labels
Post by: Fred Tomke on December 12, 2009, 03:05:58 PM
Question:
How can I force a carriage return in a multiline textbox, a label, and in the ToolTipMaintext?

Answer:
Put a \r\n between the lines. For instance:
Code (autolisp) Select
(dcl_control_setcaption MyProject_MyForm_MyLabel "line1\r\nline2\r\nline3")

Fred