1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57
|
<html>
<head>
<title>EAGLE Help: dlgTextEdit</title>
</head>
<body bgcolor=white>
<font face=Helvetica,Arial>
<hr>
<i>EAGLE Help</i>
<h1><center>dlgTextEdit</center></h1>
<hr>
<dl>
<dt>
<b>Function</b>
<dd>
Defines a multiline text entry field.
<p>
<dt>
<b>Syntax</b>
<dd>
<tt>dlgTextEdit(string &Text)</tt>
<p>
<dt>
<b>Description</b>
<dd>
The <tt>dlgTextEdit</tt> statement defines a multiline text entry field with the given <tt>Text</tt>.
<p>
The lines in the <tt>Text</tt> have to be delimited by a newline character (<tt>'\n'</tt>).
Any whitespace characters at the end of the lines contained in <tt>Text</tt> 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.
<p>
</dl>
<b>See also</b> <a href=305.htm>dlgStringEdit</a>,
<a href=309.htm>dlgTextView</a>,
<a href=296.htm>dlgLabel</a>,
<a href=311.htm>Layout Information</a>,
<a href=318.htm>A Complete Example</a>
<p>
<b>Example</b>
<pre>
string Text = "This is some text.\nLine 2\nLine 3";
dlgVBoxLayout {
dlgLabel("&Edit the text");
dlgTextEdit(Text);
}
</pre>
<hr>
<table width=100% cellspacing=0 border=0><tr><td align=left><font face=Helvetica,Arial>
<a href=index.htm>Index</a>
</font></td><td align=right><font face=Helvetica,Arial size=-1>
<i>Copyright © 2005 CadSoft Computer GmbH</i>
</font></td></tr></table>
<hr>
</font>
</body>
</html>
|