Datasheet once maximized cannot be closed

D

Dorian

I have an application that disables the close button (X in corner).
The application uses a form to select a query to open in datasheet view.
When the query opens, the X on the datasheet is active and can be clicked to
close the datasheet. However, if the user maximizes the datasheet, its as if
the datasheet merges with the database window and the X becomes grayed out
and from that point there is no way to minimize the datasheet and thus close
the window. The datasheet remains until the database is closed.
Is there any way to allow the datasheet to be closed after a user maximizes
it?
Thanks,
-- Dorian
"Give someone a fish and they eat for a day; teach someone to fish and they
eat for a lifetime".
 
R

Rick Brandt

Dorian said:
I have an application that disables the close button (X in corner).
The application uses a form to select a query to open in datasheet view.
When the query opens, the X on the datasheet is active and can be clicked
to close the datasheet. However, if the user maximizes the datasheet, its
as if the datasheet merges with the database window and the X becomes
grayed out and from that point there is no way to minimize the datasheet
and thus close the window. The datasheet remains until the database is
closed. Is there any way to allow the datasheet to be closed after a user
maximizes it?

Have you disabled the application main menu? That is where the minimize and
restore buttons go when you maximize a child window. If you are not
allowing for a main menu bar then you get this problem.
 

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