NumberInput
ActiveX
Version 2.0 August 1998 to May 2004
The control element allows the comfortable input of (long) integer values, whereby incorrect inputs by the user become impossible. It is freely adjustable in its size. The size of the represented control sub elements and the size of the displayed numbers adapt automatically. The input of the number can be made directly in the text field or indirectly by the two buttons. If one of the buttons is clicked, the number, that was typed in, becomes smaller or greater by one. If a button is kept pressed however, the number typed in increases and/or decreases each second by the scrolling difference selected for NumberInput. NumberInput also allows the input of negative (long) integers.
The associated example shows the basic functionality of the element. It is self explaining. The application window of the example looks like the following:

The element covers the following interface described in the Interface Overview.
| Attributes | Short Description |
| lMaxValue | greatest long number allowed for input |
| lMinValue | smallest long number allowed for input |
| lScrollingDifference | number advance and/or decrease by durable pressing of one of the two buttons |
| lValue | Actual value selected within NumberInput. The value has to lie between lMinValue and lMaxValue. |
lValue as Long
Attribute, that allows to set and read out the (long) integer value actually selected within NumberInput. The value must not have right-of-comma positions but can be negative.
lMaxValue as Long
Attribute, that indicates the greatest (long) integer value, that can be stated by the user using this element.
lMinValue as Long
Attribute, that indicates the smallest (long) integer value, that can be stated by the user using this element.
lScrollingDifference as Long
The attribute indicates the amount, that is used to increase or decrease the number lValue selected within NumberInput, when one of the two buttons for increase or decrease is pressed permanently. The addition or subtraction of the amount takes place every second the appropriate button is still pressed. When lScrollingDifference is chosen negative, the sense of the two buttons is exchanged.