EAGLE Help Light

dlgIntEdit

Funkce
Defines an integer entry field.

Zápis
dlgIntEdit(int &Value, int Min, int Max)

Description
The dlgIntEdit statement defines an integer 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é dlgRealEdit, dlgStringEdit, dlgLabel, Layout Information, A Complete Example

Příklad


int Value = 42;
dlgHBoxLayout {
  dlgLabel("Enter a &Number between 0 and 99");
  dlgIntEdit(Value, 0, 99);
  }


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