You may try to use UIEnable event of controls on the pages. It fired each time pages switched, but not fired when form activate.
>Is there some way to differentiate between when a page loses focus because the user switched pages and when they switched to another form?
>
>I've got some code to refresh the cursor in the ACTIVATE, but I don't want it to run when the page comes back from a pop up form like a pick list. It does, however, need to run when the user switches to another page and back.
>
>Any ideas?
>
>Thanks,
>
>Michelle
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.comICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs
It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.