Cidtek
Guest
|
How do you insert line breaks in the text? |
|
Dmitry Kostochko
Add-in Express team
Posts: 2875
Joined: 2004-04-05
|
Hello Maurice,
Here's what the http://msdn.microsoft.com/en-us/library/windows/desktop/aa372076%28v=vs.85%29.aspx states regarding line breaks:
The recommended method for displaying text with specified line breaks is to use multiple one-line text controls located below each other. The character sequences \n, \r\n, or \n\r in the text field for the control are not displayed as a line break. These character sequences are literally displayed by the control.
But you can use CDATA inside of the Text element to format the text:
<Control Id="CopyrightWarningText" Type="Text" X="9" Y="186" Width="354" Height="66" TabSkip="yes" NoPrefix="yes">
<Text>
<![CDATA[{VSI_MS_Sans_Serif13.0_0_0}WARNING:
This computer program is protected by copyright law and international
treaties. Unauthorized duplication or distribution of this program,
or any portion of it, may result in severe civil or criminal penalties,
and will be prosecuted to the maximum extent possible under the law.
]]>
</Text>
</Control>
|
|