Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Home
Download
Help
Login
Register
OpenDCL Forums
»
OpenDCL
»
FAQs
»
Carriage return in textboxes and labels
« previous
next »
Print
Pages: [
1
]
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
Logged
Fred Tomke
Dipl.-Ing. (FH) Landespflege
[ landscaper - landscape developer - digital landscape and urban design]
Print
Pages: [
1
]
« previous
next »
OpenDCL Forums
»
OpenDCL
»
FAQs
»
Carriage return in textboxes and labels