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

Fred Tomke

  • OpenDCL Technician
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2062
  • [ Mr. Bad Guy ]
    • Kommunale Entwicklungsplanung auf digitaler Basis - digital landscape and urban design
Carriage return in textboxes and labels
« on: December 12, 2009, 03:05:58 PM »
How can I force a carriage return in a multiline textbox, a label, and in the ToolTipMaintext?

Put a \r\n between the lines. For instance:
Code: (autolisp) [Select]
(dcl_control_setcaption MyProject_MyForm_MyLabel "line1\r\nline2\r\nline3")
Fred Tomke
Dipl.-Ing. (FH) Landespflege

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