Hi Tore,
i want to use the barcode reader and i used this cmd,
"INLIST(nKeyCode,13)" to automatically enter while im using a barcode reader.
thanks for your immediate response.
Ryan.
>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