>Some times in my application, the Tab key acts like Alt-Tab.. i.e. switches between active windows not between fields.
>
>Any ideas what causes this and how to fix it?
>
>The only fix I know is to shutdown completely and reboot the machine. Needless to say this is a major pain in the neck.
>
That's usually a problem with the keyboard driver or the on-board keyboard interface chip; it's not limited to VFP. Often, toggling the Alt and Control keys (depress and release) a couple of times will reset the state properly. It happens far more often in Win9x than in NT form what I've seen, and seems to happen to static-prone systems far more often than properly grounded machines with a static discharge pad in use.