The lines in the Text have to be delimited by a newline character ('\n'). Any whitespace characters at the end of the lines contained in Text will be removed, and upon return there will be no whitespace characters at the end of the lines. Empty lines at the end of the text will be removed entirely.
Example
string Text = "This is some text.\nLine 2\nLine 3"; dlgVBoxLayout { dlgLabel("&Edit the text"); dlgTextEdit(Text); }
Index | Copyright © 2005 CadSoft Computer GmbH |