DoCmd.Maximize results in Access covering Windows task bar!

C

Chrisso

Hi All

I have some forms that I want shown maximised. So I placed this code
in the Form_Load event:

DoCmd.Maximize

This does the job but the Access window now covers the Windows task
bar! This is going to confuse my users enormously!

How can I get a form to maximise but NOT cover the Windows task bar?

Chrisso
 
L

Lutz Uhlmann

DoCmd.Maximize
This does the job but the Access window now covers the Windows task
bar! This is going to confuse my users enormously!

How can I get a form to maximise but NOT cover the Windows task bar?

I think its something about PopUp, Modal or BorderStyle. Try it with
changing there values.
 
C

Chrisso

I think its something about PopUp, Modal or BorderStyle. Try it with
changing there values.

Thanks for the hint Lutz but I still cannot avoid the problem after
trying all the possible permutations......

Chrisso
 
J

Jeanette Cunningham

Hi Chrisso
I just tried this and I can only reproduce the effect when the pop up
property is set to yes.
It covered the entire screen, nothing else at all was visible, not even the
ribbon.
The form wouldn't close using Alt F4 or Ctl F4.
I didn't put a close button on it, so had to Ctl Alt Del the database.

Maybe you are opening the form in dialog mode - acDialog in the open form
statement?


Jeanette Cunningham MS Access MVP -- Melbourne Victoria Australia


I think its something about PopUp, Modal or BorderStyle. Try it with
changing there values.

Thanks for the hint Lutz but I still cannot avoid the problem after
trying all the possible permutations......

Chrisso
 
C

Chrisso

Thanks Jeanette - sorry I missed this follow up post.

I think you might be right - will test and get back to this thread.

Thanks so much.
Chrisso
 
J

Jeanette Cunningham

The other interesting thing is that if you have the inbuilt close button (x)
set to yes, this problem seems to go away.


Jeanette Cunningham MS Access MVP -- Melbourne Victoria Australia
 

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