Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Form don't have to be maximized !! 1

Status
Not open for further replies.

TorF

Programmer
Sep 30, 2002
83
FR
My form is configured to always keep the same size.
Normaly it's impossible to minimmize, maximize or resize the form.
(Border Style=Thin ; Control Box = Thin ; Min Max Buttons = None ; Close Button = No)
That works correctly.

However, if I maximize the 'database window' (the window that contains the table, queries...) and then i open my form, the form is maximized.
This is the result that I don't want for my form...

Is there any solution to resolve this 'malfunction' ??
 
Presumably though, when you give the db to the users, you will be hiding the db window? This wont affect your form then.
 
Thanks, that is a solution.

But I will not hide the db window.

Is there any others solutions ?
 
Changing the forms popup property to yes, will stop the form from maximising.
 
I find another solution, if you don't want to set the form popup property to yes :

Private Sub Form_Load() 'or open surely
DoCmd.Restore
End Sub
 
I second the last post! I always use DoCmd.Restore on form load for consistency, and set the Form's AutoResize and AutoCentre so they always turn up in a predictable location. All the stuff you read about user interface design aside, I've had users thank me for designing forms this way - they always know what to expect. Andrew Webster MCSD

Sequence Information Technology
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top