Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Textbox
Message
From
04/11/2004 06:31:33
 
 
To
04/11/2004 06:10:45
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00958007
Message ID:
00958009
Views:
21
So you want no input at all, not even the barcode reader, except '-'? Put this in the keypress event:
LPARAMETERS nKeyCode, nShiftAltCtrl
IF !CHR(nKeyCode)='-'
   NODEFAULT 
ENDIF
I have not tested it, but it should work.

>hi to all,
>
>is't posible to disabled the keyboard input in my textbox and use only the "-" negative sign only in the keyboard and barcode scanner input? how?
>
>im using barcode scanner that attached on my keyboard ps2,
>im using VFP7.
>
>please help,
>
>TIA
>Ryan
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform