>Hi!
>
>When _VFP.AutoYield = .F., ON KEY LABEL will never interrupt the running code till the moment VFP gets chance to process events. This also true for ON SHUTDOWN, ON ESCAPE and many other things. Jut try it. My VFP6 SP5 refuse to show message box during running of the 100,000 steps loop after ON KEY LABEL F12 messagebox("Something") till code running finished. It gladly shows it when no code running or after code running finished.
>
Vlad,
Using a popup hot key never interrupts running code regardless of the _VFP.Autoyield setting. There may be reasons to have autoyield set to .T. within the application.