EAGLE Help

dlgTextEdit


Function
Defines a multiline text entry field.

Syntax
dlgTextEdit(string &Text)

Description
The dlgTextEdit statement defines a multiline text entry field with the given Text.

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.

See also dlgStringEdit, dlgTextView, dlgLabel, Layout Information, A Complete Example

Example

string Text = "This is some text.\nLine 2\nLine 3";
dlgVBoxLayout {
  dlgLabel("&Edit the text");
  dlgTextEdit(Text);
  }

Index Copyright © 2005 CadSoft Computer GmbH