Full Screen

Bee

Registered User.
Local time
Today, 03:44
Joined
Aug 1, 2006
Messages
486
Hi,

I searched in this form and on the internet on how to display a form in Full screen; however, I could not find an answer that worked.

Does anyone knows how to display forms full screen please?

Thank you,
B
 
Hello:

You want to use the the following command:

DoCmd.Maximize

Regards
Mark
 
I've used the attached module along with 2 Macros:

'------------------------------------------------------------
Function mcrHide()
On Error GoTo mcrHide_Err

Call fAccessWindow("Minimize", False, False)


mcrHide_Exit:
Exit Function

mcrHide_Err:
MsgBox Error$
Resume mcrHide_Exit

End Function

Macro Name = mcrHide
RunCode
fAccessWindow ("Minimize", False, False)
Macro Name = mcrRestore
RunCode
fAccessWindow ("Show", False, False)

You then just need to enter the below on the first form you open:

DoCmd.RunMacro "mcrHide"


This will not work if you use reports but you can maximise the reports and add the mcrHide on close which restores the form view.
 
Pete666 said:
I've used the attached module along with 2 Macros:

'------------------------------------------------------------
Function mcrHide()
On Error GoTo mcrHide_Err

Call fAccessWindow("Minimize", False, False)
QUOTE]

Can you please explain further? Do I put only the function on my module, then call it from my form?

I tried it, but it did not work.
 
You put the function into your macro (which you will have 2 of - mcrHide & mcrRestore)

The rest stays in it's own module.

You will then call the macro as normal from your forms & reports on open.

docmd.runmacro mcrRestore
docmd.runmacro mcrHide

When viewing reports there will always be the rear MS Access window so ensure you use the Docmd.Maximize with your macro.

Hope this helps.. and sorry for the delay in reply.
 
to fully display a form full screen and not maximised within the access window, set the popup and modal properties to yes and maximise in the form open event.
 
Last edited:

Users who are viewing this thread

Back
Top Bottom