Hi!
>I'm looking for the way to lock and unlock the keyboard from a form, but I didn't somebody knows how do it ?
Try this:
Declare Integer BlockInput in Win32API Integer
BlockInput(.T.)
It will block keyboard and mouse input. To unlock call BlockInput(.F.)
or press CTRL+ALT+DEL.
Alexander