Validate and Format Currency Numbers in Textbox 
Author Message
 Validate and Format Currency Numbers in Textbox

Does anyone know a good way to validate and format currency number in a
textbox. I would like the numbers to fill from right to left as Excel does
and always format the number to 2 decimal places. Non numeric data should
not be allowed. I tried the MaskedEdit Control, but it fills from left to
right and leaves the prompt character in the field. I would like the number
to format as it is entered. Shouldn't this be easier than it is, or am I
missing something ?



Sat, 27 May 2000 03:00:00 GMT  
 Validate and Format Currency Numbers in Textbox

Check out FarPoints Input Pro package.  You can get a demo at
http://www.fpoint.com/GuideTrial.htm.  It consists of controls that will do
this for you automatically - no coding whatsoever.

--
Later,
Tony Fountain
Digital Horizons, Inc.


Quote:

>Does anyone know a good way to validate and format currency number in a
>textbox. I would like the numbers to fill from right to left as Excel does
>and always format the number to 2 decimal places. Non numeric data should
>not be allowed. I tried the MaskedEdit Control, but it fills from left to
>right and leaves the prompt character in the field. I would like the number
>to format as it is entered. Shouldn't this be easier than it is, or am I
>missing something ?



Sat, 27 May 2000 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. TextBox that only accepts Currency / Floating Point Numbers

2. "Changing Currency/Number Datatype format"

3. Format textbox for currency

4. Currency format for input in a textbox control

5. Currency format in TextBox...

6. Formatting numbers and currency

7. Format Currency/Number as Text?

8. API to format Currency and Number

9. API to format Currency and Number

10. vb4 textbox formatting & validating

11. Form's validate does not fire usercontrol(inside textbox) validating event

12. from Microsoft format Number to IEE format Number

 

 
Powered by phpBB® Forum Software