Carriage return in textboxes and labels

Started by fred_tomke · 2009-12-12 23:05 UTC · 0 replies · SMF topic #1076

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:
(dcl_control_setcaption MyProject_MyForm_MyLabel "line1\r\nline2\r\nline3")

Fred