Mega Code Archive

 
Categories / Delphi / Ide Indy
 

Object inspector and enter key

Question: How can I place a return character in a string at design time from the object inspector? Answer: You cannot, but there is a work around available in Delphi 3. Enter the text you want without the enter key, then right click on the form, and choose the "View as text" option. Find the string and change it to something like this: Hint = 'LineOne'+#13+LineTwo'