>Hi all
>
>I'm looking for the way to lock and unlock the keyboard from a form, but I didn't somebody knows how do it ?
>
>Thanks.
Pedro,
Set form keypreview to .t. then in form keypress control it. ie:
lparameters nKeyCode,nShiftAltCtrl
if this.Tag = 'locked'
nodefault
endif
Cetin