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

Maximize and minimize

Status
Not open for further replies.

filipe26

Programmer
Mar 17, 2003
152
PT
I have a form and on his property windowstate i have maximize.What happens is the fact when i minimize the form that is maximized, the height and width properties are different that my normal form has.
 
Try setting the Width and Height values of the form at design-time. Then when you click the "Restore Down" button (next to minimize) it should revert to the size you had before maximising.

An alternative might be to set the width and height properties of the form in the Application's OnMinimize event.

Clive [infinity]
Ex nihilo, nihil fit (Out of nothing, nothing comes)
 
doesn't work and on minimize event that is for the application not fot a unique form.the problem is when i restore to the normal state.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top