EAGLE Help

dlgGroup


Function
Defines a group field.

Syntax
dlgGroup(string Title) statement

Description
The dlgGroup statement defines a group with the given Title.

By default a dlgGroup contains a dlgVBoxLayout, so a simple group doesn't have to worry about the layout.

dlgGroup is mainly used to contain a set of radio buttons or check boxes, but may as well contain any other objects in its statement.
Radio buttons within a dlgGroup are numbered starting with 0.

See also dlgCheckBox, dlgRadioButton, Layout Information, A Complete Example

Example

int align = 1;
dlgGroup("Alignment") {
  dlgRadioButton("&Top", align);
  dlgRadioButton("&Center", align);
  dlgRadioButton("&Bottom", align);
  }

Index Copyright © 2005 CadSoft Computer GmbH