Hiding/Showing form

J

JP Robb

Hi All:

When I use a switchboard in a program and use it to open another form, the
switchboard hides (is not visibile...if I move or minimize the newly opened
form...the switchboard cannot be seen). Then when I close the new form the
switchboard is there.

How can I do this programmatically? I want to develop my own switchboard
(not using the standard, built-in) switchboard creation...and when I make a
selection, I want the custom switchboard to become invisible until I close
the other form.

Thank you in advance for any answers.

JP
 
R

Rick Brandt

JP said:
Hi All:

When I use a switchboard in a program and use it to open another
form, the switchboard hides (is not visibile...if I move or minimize
the newly opened form...the switchboard cannot be seen). Then when I
close the new form the switchboard is there.

How can I do this programmatically? I want to develop my own
switchboard (not using the standard, built-in) switchboard
creation...and when I make a selection, I want the custom switchboard
to become invisible until I close the other form.

In the OpenEvent of the second form..

Forms!NameOfForm.Visible = False

....and in its Close event...

Forms!NameOfForm.Visible = True
 

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