Author Topic: Carriage return in textboxes and labels  (Read 9370 times)

Fred Tomke

  • OpenDCL Technician
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2120
Carriage return in textboxes and labels
« 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
Fred Tomke
Dipl.-Ing. (FH) Landespflege

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