Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Textbox entry
Message
 
To
13/07/2005 11:00:41
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Environment versions
Visual FoxPro:
VFP 6 SP5
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01032237
Message ID:
01032283
Views:
18
>I have a textbox on a form that a dollar amount will be entered. I have an input mask on of 99999999.99 On entry, I would like it to move to the correct position when the "." is entered by the user. Right now, it ignores the "." and continues where the cursor is.
>
>EG: If I click into the field on the third position after the decimal and enter 50.00 it actually will appear 500.0 as it is now. I would like it to show the 50.00.
>
>Any suggestions?
>
>Thank you

Christine,
set value property of textbox to
0.00
In init event on form
SET POINT TO '.'
_______________________________________________________________
Testing displays the presence, not the absence of bugs.
If a software application has to be designed, it has to be designed correctly!
_______________________________________________________________
Vladimir Zografski
Systems Analyst
Previous
Reply
Map
View

Click here to load this message in the networking platform