EAGLE Help Light

dlgSpinBox

Funkce
Defines a spin box selection field.

Zápis
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.

Viz také dlgIntEdit, dlgLabel, Layout Information, A Complete Example

Příklad


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


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