Maintaining a Form Maximized

J

John C.

I have a form that must remain maximized while displayed.

I have tried the following event in the forms code (the
msgbox is for testing):

Private Sub Form_Resize()
MsgBox "Form has been resized."
DoCmd.SelectObject acForm, "frmUnitData"
DoCmd.Maximize
End Sub

Line 2 and 3 seem to have no effect...???
 
J

James

Try taking out the message box command and see if they
run. If they do you will need to ask yourself if you
really need the msgbox...

HTH

James
 
J

John C.

The msgbox is only telling me when the Resize event
occurs. It has no bearing on anything else.

Anyone else have an idea?

I have tried using the information contained in kb141111,
but it seems not to work.
 

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