Posted by: Paul Lefebvre
NumberField is a subclass of EditField that allows the user to only type numbers. To use it, import the NumberField.rbo control into your project and then drag it to a window (you’ll find it in the Project Controls section of the control list). There is only one property, which you can modify in the IDE Property Editor or in code:
AllowDecimals As Boolean: Set to True (or check in the IDE) to allow decimal numbers to be entered. Otherwise only integers can be entered.
This is a simple control, but I’ve found it useful from time-to-time.
Download NumberField Control


