Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Textbox
Message
From
04/11/2004 19:55:20
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
04/11/2004 19:47:05
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Environment versions
Visual FoxPro:
VFP 7 SP1
OS:
Windows Server 2003
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
00958339
Message ID:
00958341
Views:
18
>hi to all,
>
>how can i disable my keyboard except the digits,"-"negative sign and the enter keys?
>
>pls help
>
>TIA
>Ryan.

I think that would be with the .KeyPress() Event. Perhaps a NODEFAULT for most keys, except the keys that you want to be processed, would achieve your purpose.

HTH,

Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Reply
Map
View

Click here to load this message in the networking platform