Posted On: Thursday, December 6th, 2007 (Controls, Source Code)
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

1 Star2 Stars3 Stars4 Stars5 Stars (2 votes, average: 3.5 out of 5)
Loading ... Loading ...

This entry was posted on Thursday, December 6th, 2007 at 1:22 pm and is filed under Controls, Source Code. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

Leave a Reply