Hi Shaktima!
It's not the best solution - but one ;)
You could use _screen.hide(.t.) during your word automation and when everything is finished or an error occurs _screen.hide(.f.)
HTH
>Dear All
>
>I have used word automation in my project for Spell Check ,the problem is that when I take a spell check and click anywhere else on the screen with spell check window open it gives me a switch or retry message i.e the spellcheck window goes at back and my foxpro application cannot proceed until the spell check is over
>Can any one tell me how to make the spellcheck window modal or any other solution by which the spellcheck window does not lose focus until the operation is over.
>The window set of the word appliaction is set to zero.
>
>Rgds,
>Shakti
robert.oh.