EAGLE Help Light

dlgTextEdit

Funkce
Defines a multiline text entry field.

Zápis
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').

???builtin function to remove trailing blanks 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.

Viz také dlgStringEdit, dlgTextView, dlgLabel, Layout Information, A Complete Example

Příklad


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


OBSAH Translation © 2001 ELCAD v.o.s., Copyright © 2001 CadSoft Computer GmbH