maximize form

tjr222

Registered User.
Local time
Yesterday, 22:49
Joined
Jun 12, 2002
Messages
30
I have a form that acts as a switchboard. In the onclick property of each button I have two actions:

1) Openform in the view (form, datasheet, etc.) I want and mode (add, edit, etc.).

2) Maximize

Eveything seems to work normally and when I click on a button it will open the correct form in the correct view and maximize it. The problem is that as soon as I click anywhere in the form it restores back to a smaller size. If anyone knows why this is happening or how to fix it please respond. Thank you.
 
Go to the event properties of your form and on the On Open event put this:
DoCmd.Maximize
That should do the trick :)
 
I suggest that you set the forms "Auto Resize" format property to "No".

You could also add a click event to the forms Detail section with DoCmd.Maximize. That will maximize the form every time the user clicks the detail (background) of the form.

HTH
 

Users who are viewing this thread

Back
Top Bottom