Главная страница | назад





Article #16085: Object Inspector and Enter Key

 Question and Answer Database

FAQ1085D.txt   Object Inspector and Enter Key
Category   :IDE
Platform    :All
Product    :All 32 bit  

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'


7/16/98 4:31:28 PM
 

Last Modified: 01-SEP-99