Popup stays on top

X

xp

I have a form that loads as a popup (modal is set to no; default is Single
Form); when the user runs a report, this form stays on top thus obscuring the
view of the report in print preview mode. The form is set so the user can't
close it.

I would like for the form to "float" to the background when the report is
run, yet allow the user to close the report and then see the form again. i.e.
the form should act as any window going behind when something else is clicked
and coming front when it is clicked...

What settings do I need to use to accomplish this?

Thanks so very much for your assistance!
 
K

Keith Wilby

xp said:
I have a form that loads as a popup (modal is set to no; default is Single
Form); when the user runs a report, this form stays on top thus obscuring
the
view of the report in print preview mode. The form is set so the user
can't
close it.

I would like for the form to "float" to the background when the report is
run, yet allow the user to close the report and then see the form again.
i.e.
the form should act as any window going behind when something else is
clicked
and coming front when it is clicked...

What settings do I need to use to accomplish this?

Thanks so very much for your assistance!

Set the form's visible property to false in the report's open event. Set it
to true in the report's close event.

Keith.
www.keithwilby.co.uk
 
M

Marshall Barton

xp said:
I have a form that loads as a popup (modal is set to no; default is Single
Form); when the user runs a report, this form stays on top thus obscuring the
view of the report in print preview mode. The form is set so the user can't
close it.

I would like for the form to "float" to the background when the report is
run, yet allow the user to close the report and then see the form again. i.e.
the form should act as any window going behind when something else is clicked
and coming front when it is clicked...

What settings do I need to use to accomplish this?


Remove the form's popup property? Seriously, a popup form
is supposed to stay on top so asking a form to not stay on
top means it can't be a popup.

Maybe you can have the report cake the form invisible when
it opens and make it visible again when the report closes.
 

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