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 58 59 60 61 62 63 64
|
<html>
<head>
<title>EAGLE Help: dlgCell</title>
</head>
<body bgcolor=white>
<font face=Helvetica,Arial>
<hr>
<i>EAGLE Help</i>
<h1><center>dlgCell</center></h1>
<hr>
<dl>
<dt>
<b>Function</b>
<dd>
Defines a cell location within a grid layout context.
<p>
<dt>
<b>Syntax</b>
<dd>
<tt>dlgCell(int row, int column[, int row2, int column2]) <i>statement</i></tt>
<p>
<dt>
<b>Description</b>
<dd>
The <tt>dlgCell</tt> statement defines the location of a cell within a
<a href=292.htm>grid layout context</a>.
<p>
The row and column indexes start at 0, so the upper left cell has the index (0, 0).
<p>
With two parameters the dialog object defined by <tt>statement</tt> will be placed in
the single cell addresses by <tt>row</tt> and <tt>column</tt>.
With four parameters the dialog object will span over all cells from <tt>row</tt>/<tt>column</tt>
to <tt>row2</tt>/<tt>column2</tt>.
<p>
By default a <tt>dlgCell</tt> contains a <a href=294.htm>dlgHBoxLayout</a>,
so if the cell contains more than one dialog object, they will be placed next to
each other horizontally.
<p>
</dl>
<b>See also</b> <a href=292.htm>dlgGridLayout</a>,
<a href=294.htm>dlgHBoxLayout</a>,
<a href=310.htm>dlgVBoxLayout</a>,
<a href=311.htm>Layout Information</a>,
<a href=318.htm>A Complete Example</a>
<p>
<b>Example</b>
<pre>
string Text;
dlgGridLayout {
dlgCell(0, 0) dlgLabel("Cell 0,0");
dlgCell(1, 2, 4, 7) 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>
|