EAGLE Help

dlgSpinBox


Function
Defines a spin box selection field.

Syntax
dlgSpinBox(int &Value, int Min, int Max)

Description
The dlgSpinBox statement defines a spin box entry field with the given Value.

If Value is initially outside the range defined by Min and Max it will be limited to these values.

See also dlgIntEdit, dlgLabel, Layout Information, A Complete Example

Example

int Value = 42;
dlgHBoxLayout {
  dlgLabel("&Select value");
  dlgSpinBox(Value, 0, 99);
  }

Index Copyright © 2005 CadSoft Computer GmbH