Re: Pop Up behind Normal Form

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Thank you very much, this worked. We haven't had that problem all week.

"Arvin Meyer [MVP]" wrote:

Timing. If code is being upstaged by another application, it can take longer
to run and the focus doesn't leave the Main form. Just add some code to the
routine which ends by setting focus back to a control on the popup. (or
visa-versa, if that's what you want).
--
Arvin Meyer, MCP, MVP
http://www.datastrat.com
http://www.mvps.org/access
http://www.accessmvp.com


"ggregg" <ggregg@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:A2E78158-E081-41BD-96CA-0C2EF25B8708@xxxxxxxxxxxxxxxx
I open a Main form in Normal mode. A button on the form opens a Pop up
form
in Dialog mode. The Pop up and Modal properties are set to yes for the
Pop
up form. Most of the time it works fine, but once in awhile the Pop up
form
ends up behind the Main form. Does anyone have any suggestions on what
could
cause that? Thank you very much.



.


Quantcast