EAGLE Help

dlgIntEdit


Function
Defines an integer entry field.

Syntax
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.

See also dlgRealEdit, dlgStringEdit, dlgLabel, Layout Information, A Complete Example

Example

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

Index Copyright © 2005 CadSoft Computer GmbH