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 biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How can I stop a form from getting maximized? 1

Status
Not open for further replies.

aldi

IS-IT--Management
May 10, 2002
421
CA
How can I stop a form from getting maximized?

I have a litle app. in access that import a csv file and prints a report based on the data imported.

When I maximize the report on the screen, the form gets maximized too.

Is it possible to avoid that?

Please help, thanks.
 
I don't think you can stop that from happening. From my experience, everything maximizes when you maximize anything.

But, you can resize the form when it comes back into play.

Code:
Private Sub Form_Activate()
DoCmd.Restore
End Sub

HTH


John



When Galileo theorized that Aristotle's view of the Universe contained errors, he was labeled a fool.
It wasn't until he proved it that he was called dangerous.
[wink]
 
Thanks BoxHead,

I got it.

I set the following properties

dialog to yes
minimize/maximize none
modal yes

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top