Datasheet once maximized cannot be closed

  • Thread starter Thread starter Dorian
  • Start date Start date
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".
 
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.
 
Back
Top