EAGLE Help Light

dlgGridLayout

Funkce
Opens a grid layout context.

Zápis
dlgGridLayout statement

Description
The dlgGridLayout statement opens a grid layout context.

The only dialog object that can be used directly in statement is dlgCell, which defines the location of a particular dialog object within the grid layout.

The row and column indexes start at 0, so the upper left cell has the index (0, 0).
The number of rows and columns is automatically extended according to the location of dialog objects that are defined within the grid layout context, so you don't have to explicitly define the number of rows and columns.

Viz také dlgCell, dlgHBoxLayout, dlgVBoxLayout, Layout Information, A Complete Example

Příklad


dlgGridLayout {
  dlgCell(0, 0) dlgLabel("Row 0/Col 0");
  dlgCell(1, 0) dlgLabel("Row 1/Col 0");
  dlgCell(0, 1) dlgLabel("Row 0/Col 1");
  dlgCell(1, 1) dlgLabel("Row 1/Col 1");
  }


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