>>>I think it's even dangerous to disable a mouse. It's easy to disable control or even toggle Thisform.Enabled in the same place of code.
>>
>>It's the same thing. Visual FoxPro is queuing everything and will release everything when the interface become available. The problem remains. :)
>
>Really? I cannot reproduce it here.
If I put ThisForm.Enabled=.F. and the interface is available, yes it will work. But, in my case when ThisForm.Enabled=.F., the interface is not available because a method is processing. At the end of that method, I put ThisForm.Enabled=.T. At this point, the method is finish, so the interface become available again and Visual FoxPro process everything in the buffer. So, ThisForm.Enabled was never used because it was during a process.