UtterAccess HomeUtterAccess Wiki

Welcome Guest ( Log In | Register )

Custom Search
Edit Discussion
> NumericInput    

clsNumericInput is a class designed to be used in conjuction with the KeyDown event of a TextBox control. Objects of this class should be declared in a form's module, instantiated in the form's On Load Event and destroyed in the form's On Unload Event. When an object is instantiated, appropriate values should be assigned to the MaximumDigits, DecimalPlaces, and Decimal Separator properties. The Key Down event handler should assign the current KeyCode to the objects KeyCode property.

media:NumericInput.zip has demo files in Access 2000 and 2010 format. The textbox on the demonstration form is right aligned to provide right to left input functionality.

R E V I S I O N   H I S T O R Y
Version Date Note
1.00 07 Aug 2011 original version

Creative Commons License
NumericInput by UtterAccess Wiki is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
Editing and revision of the content is freely encouraged; for details, see Expected Usage.

Edit Discussion
Custom Search

Thank you for your support!
This page has been accessed 4,536 times.  This page was last modified 17:26, 7 August 2011 by Glenn Lloyd.   Disclaimers