Title bar grayed out

B

Bob Howard

I'm doing some processing in a maximized non-modal popup form. When the
user clicks a certian button, I open a second maximized non-modal popup form
to get some additional info. I leave the first form the way it was
(maximized) although it isn't visible to the user because the second form is
maximize "on top of it."

All the processing is taking place in the VBA code in an onclick event in
the first form.

When I've gotten all the info, I close the second form, and the first form
again becomes visible to the user.

BUT ...

The windows title bar at the top is grayed out and this makes it look a bit
wierd. It seems only a click of the mouse (anywhere on the form) makes it
turn blue again.

I've tried setfocus, repaintobject, maximize, etc. --- nothing from within
the code seems to make the form "wake up."

Is there something simple I'm missing???

Bob (@Martureo.Org)
 
T

tina

in whatever code you're using to close the second form, try adding the
following line, as

DoCmd.SelectObject acForm, "MyFirstForm"

substitute the correct name of the first form, of course.

hth
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top