Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Format/Input Mask
Message
From
08/03/2002 14:24:20
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00630320
Message ID:
00630346
Views:
36
>Hi,
>Is there a mask for numeric fields which will not allow (-) minus symbol. '9' allows (-) minus.
>Thank you.
>
>Neetu Kumar

I would trap keystrokes in the KeyPress event and issue a NODEFAULT when a "-" was pressed. You can just pass other keystrokes or filter out any others you don't want.

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

Click here to load this message in the networking platform