Carriage return in textboxes and labels

Started by Fred Tomke, December 12, 2009, 03:05:58 PM

Previous topic - Next topic

Fred Tomke

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
Fred Tomke
Dipl.-Ing. (FH) Landespflege

[ landscaper - landscape developer - digital landscape and urban design]