Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
On a field w input mask last character gets overwrote
Message
From
27/08/1999 08:57:43
 
 
To
27/08/1999 08:28:30
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00258338
Message ID:
00258349
Views:
10
>Hi!
>
>This is kinda hard to explain.
>Say I have a field with an input mask.
>Allowing my to enter 10 characters.
>
>Eg.. 1234567891
>
>But now I type character 11
>say its a 2
>
>Know the field looks like
>1234567892
>
>It writes over the last character.
>Can I change this behaviour?
>
>i would like it to either type nothing or print an error
>message warning that they are overwriting what they typed..

You might want to try Jim Booth's numeric textbox class in the files download section. It allows input of digits like a calculator display and may have the functionality you're looking for. Otherwise I should think you could test fro the number of digits already entered in the KeyPress event and take appropriate action there.

Bill
William A. Caton III
Software Engineer
MAXIMUS
Atlanta, Ga.
Previous
Reply
Map
View

Click here to load this message in the networking platform