Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Detect if Database window is visible?

Status
Not open for further replies.

utc13

Programmer
Oct 25, 2001
43
US
I have a form that I use as my Main Menu. When my users log on the Database window is hidden therefore closing the Main Menu form exits the database (as it should). However when I’m working on it the Database window is visible and when I close the Main Menu I don’t want the application to exit, only the form to close. Is there a way I could code it so that closing the form only exits the application when the Database window is NOT visible?
 
there is preprogrammed functions ....

check for the one call isLoaded ... will return true if the work is active false if not ...

hope it helps

Vince
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top